Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 109.5 kB / 19.75 MB, free: 2.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 219.4 kB / 22.92 MB, free: 5.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.282/1.282, allocations: 230.4 MB / 256.4 MB, free: 8.281 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 71.88 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2086, allocations: 53.31 MB / 429.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003597/0.2122, allocations: 2.86 MB / 432.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2134, allocations: 0.7751 MB / 433 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.2135, allocations: 8 kB / 433 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.2136, allocations: 55.42 kB / 433.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.2138, allocations: 99.05 kB / 433.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.2141, allocations: 123.8 kB / 433.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.2145, allocations: 454.8 kB / 433.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.2148, allocations: 164.9 kB / 433.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.215, allocations: 183.4 kB / 434.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.2153, allocations: 203.2 kB / 434.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.2153, allocations: 48 kB / 434.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2154, allocations: 51.98 kB / 434.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.2155, allocations: 99.69 kB / 434.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.2157, allocations: 222.9 kB / 434.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.2162, allocations: 0.5062 MB / 435.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2162, allocations: 0 / 435.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2162, allocations: 4 kB / 435.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2162, allocations: 0 / 435.2 MB, free: 1.562 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009973/0.2172, allocations: 0.6899 MB / 435.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2172, allocations: 16.02 kB / 435.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.785e-05/0.2173, allocations: 78.72 kB / 436 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.2175, allocations: 60.64 kB / 436.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.2178, allocations: 284.5 kB / 436.3 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.2178, allocations: 29.38 kB / 436.4 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.2179, allocations: 44.33 kB / 436.4 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.2185, allocations: 459.4 kB / 436.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2186, allocations: 4 kB / 436.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.2186, allocations: 20 kB / 436.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2186, allocations: 8 kB / 436.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.2191, allocations: 279.9 kB / 437.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.2208, allocations: 1.307 MB / 438.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.2212, allocations: 222.7 kB / 438.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.2216, allocations: 176.7 kB / 438.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2216, allocations: 4 kB / 438.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.2216, allocations: 42.56 kB / 438.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.282e-06/0.2216, allocations: 0 / 438.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001281/0.2229, allocations: 0.5502 MB / 439.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.223, allocations: 239.3 kB / 439.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.2232, allocations: 206.8 kB / 439.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.2232, allocations: 33.7 kB / 439.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.2233, allocations: 200.7 kB / 440.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.959e-05/0.2234, allocations: 111 kB / 440.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/0.2235, allocations: 65.69 kB / 440.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2237, allocations: 334.8 kB / 440.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.2238, allocations: 71.97 kB / 440.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.224, allocations: 152.5 kB / 440.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.2243, allocations: 204.8 kB / 441 MB, free: 11.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2243, allocations: 0 / 441 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004276/0.2248, allocations: 277.1 kB / 441.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2248, allocations: 8 kB / 441.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2248, allocations: 0 / 441.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2248, allocations: 8.062 kB / 441.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.2251, allocations: 83.83 kB / 441.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2251, allocations: 4 kB / 441.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.2253, allocations: 35.78 kB / 441.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.2253, allocations: 8 kB / 441.4 MB, free: 10.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.2254, allocations: 153.7 kB / 441.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.2255, allocations: 27.8 kB / 441.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.493e-05/0.2255, allocations: 38.58 kB / 441.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2255, allocations: 8 kB / 441.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.2256, allocations: 4 kB / 441.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2256, allocations: 0 / 441.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.2265, allocations: 0.7595 MB / 442.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2265, allocations: 0 / 442.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.2268, allocations: 51.91 kB / 442.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.227, allocations: 92.83 kB / 442.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.2271, allocations: 4 kB / 442.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.229, allocations: 1.971 MB / 444.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2291, allocations: 3.984 kB / 444.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.2298, allocations: 0.4974 MB / 445.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.2298, allocations: 105 kB / 445.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.2299, allocations: 8 kB / 445.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.23, allocations: 12 kB / 445.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.2301, allocations: 20.08 kB / 445.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.2301, allocations: 19.86 kB / 445.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.2302, allocations: 148.6 kB / 445.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2302, allocations: 7.938 kB / 445.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.2305, allocations: 107.7 kB / 445.5 MB, free: 6.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009999/0.2315, allocations: 1.035 MB / 446.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.2319, allocations: 200.4 kB / 446.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2319, allocations: 0 / 446.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.2323, allocations: 266.4 kB / 447 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.2327, allocations: 44.67 kB / 447 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.2359, allocations: 2.902 MB / 449.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.2363, allocations: 0.787 MB / 450.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.482e-05/0.2363, allocations: 21.95 kB / 450.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2365, allocations: 103.4 kB / 450.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2365, allocations: 0 / 450.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.2697, allocations: 6.023 MB / 456.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.981/9.251, allocations: 19.03 kB / 456.9 MB, free: 11.2 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.315644697002426]