Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007575/0.007575, allocations: 102.5 kB / 15.73 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 192.2 kB / 16.67 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 45.53 kB / 326.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1118, allocations: 46.63 MB / 373.2 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005189/0.1171, allocations: 4.026 MB / 377.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1189, allocations: 0.9238 MB / 378.2 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.1191, allocations: 8 kB / 378.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1194, allocations: 95.06 kB / 378.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.1197, allocations: 182.4 kB / 378.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1201, allocations: 143.8 kB / 378.6 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005964/0.1207, allocations: 0.677 MB / 379.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.1211, allocations: 211 kB / 379.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.1213, allocations: 255 kB / 379.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.1217, allocations: 290.7 kB / 380 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/0.1218, allocations: 56 kB / 380 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.1218, allocations: 56 kB / 380.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.122, allocations: 131.5 kB / 380.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.1222, allocations: 314.3 kB / 380.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.1228, allocations: 0.6384 MB / 381.2 MB, free: 9.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1228, allocations: 0 / 381.2 MB, free: 9.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1228, allocations: 0 / 381.2 MB, free: 9.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1229, allocations: 0 / 381.2 MB, free: 9.367 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001429/0.1243, allocations: 0.8612 MB / 382 MB, free: 8.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1243, allocations: 8.031 kB / 382 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1245, allocations: 64.19 kB / 382.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.125, allocations: 371.7 kB / 382.5 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.125, allocations: 41.38 kB / 382.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/0.1251, allocations: 52.36 kB / 382.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.1259, allocations: 475.5 kB / 383 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1259, allocations: 3.938 kB / 383 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.1259, allocations: 20 kB / 383 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.126, allocations: 12 kB / 383.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.1265, allocations: 340.3 kB / 383.4 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.1291, allocations: 1.674 MB / 385.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.1295, allocations: 265 kB / 385.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.1298, allocations: 141.7 kB / 385.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.1298, allocations: 4 kB / 385.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1299, allocations: 42.55 kB / 385.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.1299, allocations: 0 / 385.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001765/0.1316, allocations: 0.9476 MB / 386.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.1317, allocations: 89.03 kB / 386.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.1322, allocations: 385.6 kB / 386.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1322, allocations: 29.7 kB / 386.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.1324, allocations: 279.5 kB / 387.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/0.1325, allocations: 118.4 kB / 387.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1326, allocations: 78.03 kB / 387.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1327, allocations: 350.7 kB / 387.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.1329, allocations: 100.8 kB / 387.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.1332, allocations: 198.6 kB / 388 MB, free: 2.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.1337, allocations: 306 kB / 388.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1337, allocations: 0 / 388.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007768/0.1345, allocations: 446.6 kB / 388.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1345, allocations: 4 kB / 388.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1345, allocations: 4 kB / 388.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.1349, allocations: 81.69 kB / 388.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.1352, allocations: 79.89 kB / 388.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.1376, allocations: 3.131 MB / 392.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.1378, allocations: 23.84 kB / 392.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1379, allocations: 16 kB / 392.1 MB, free: 13.67 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.1381, allocations: 165.8 kB / 392.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/0.1382, allocations: 39.53 kB / 392.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.1382, allocations: 51.45 kB / 392.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1382, allocations: 4 kB / 392.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1383, allocations: 7.875 kB / 392.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1383, allocations: 0 / 392.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.1395, allocations: 0.9332 MB / 393.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1395, allocations: 4 kB / 393.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.1397, allocations: 47.91 kB / 393.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000254/0.14, allocations: 85.55 kB / 393.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.14, allocations: 8 kB / 393.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.1423, allocations: 3.131 MB / 396.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1423, allocations: 4.031 kB / 396.6 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008639/0.1432, allocations: 0.6096 MB / 397.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.1433, allocations: 116.7 kB / 397.3 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.1434, allocations: 7.938 kB / 397.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.1437, allocations: 31.98 kB / 397.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.1438, allocations: 31.89 kB / 397.4 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1438, allocations: 8 kB / 397.4 MB, free: 7.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000276/0.1441, allocations: 271.2 kB / 397.7 MB, free: 7.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1441, allocations: 0 / 397.7 MB, free: 7.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005485/0.1447, allocations: 120 kB / 397.8 MB, free: 7.621 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.1448, allocations: 111.2 kB / 397.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009224/0.1458, allocations: 0.5135 MB / 398.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1458, allocations: 4.062 kB / 398.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.1464, allocations: 390.1 kB / 398.8 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.1469, allocations: 65.45 kB / 398.8 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1486, allocations: 0.9472 MB / 399.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.1491, allocations: 0.8392 MB / 400.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.1493, allocations: 43.28 kB / 400.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.1493, allocations: 31.44 kB / 400.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1494, allocations: 0 / 400.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of Templates: time 0.009503/0.1589, allocations: 4.751 MB / 405.5 MB, free: 15.81 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)