Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001401/0.001401, allocations: 117.9 kB / 16.63 MB, free: 6.812 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.001403/0.001403, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.401/1.401, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.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.001178/0.001178, allocations: 56.25 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.1001, allocations: 46.63 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005705/0.1059, allocations: 4.06 MB / 330.2 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1077, allocations: 0.9161 MB / 331.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.1079, allocations: 11.94 kB / 331.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.1082, allocations: 63.45 kB / 331.2 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.1085, allocations: 150.8 kB / 331.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.1089, allocations: 123.8 kB / 331.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007604/0.1097, allocations: 0.6654 MB / 332.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.11, allocations: 203 kB / 332.3 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.1104, allocations: 263 kB / 332.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.1107, allocations: 286.7 kB / 332.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.1108, allocations: 56 kB / 332.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.402e-05/0.1109, allocations: 56 kB / 333 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.418e-05/0.111, allocations: 135.5 kB / 333.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.1113, allocations: 302.5 kB / 333.4 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.1118, allocations: 0.6346 MB / 334 MB, free: 12.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1118, allocations: 0 / 334 MB, free: 12.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1118, allocations: 0 / 334 MB, free: 12.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1119, allocations: 0 / 334 MB, free: 12.84 MB / 286.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.001336/0.1132, allocations: 0.8651 MB / 334.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1133, allocations: 8.031 kB / 334.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1134, allocations: 68.19 kB / 335 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.1138, allocations: 363.6 kB / 335.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.1139, allocations: 45.31 kB / 335.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.1139, allocations: 48.38 kB / 335.4 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/0.1147, allocations: 487.5 kB / 335.9 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1147, allocations: 0 / 335.9 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.1148, allocations: 16 kB / 335.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1148, allocations: 12 kB / 335.9 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.1154, allocations: 340.3 kB / 336.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.118, allocations: 1.697 MB / 338 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.1184, allocations: 265.1 kB / 338.2 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.1186, allocations: 142 kB / 338.3 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.1187, allocations: 7.906 kB / 338.4 MB, free: 8.289 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1187, allocations: 38.55 kB / 338.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.1187, allocations: 0 / 338.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001878/0.1206, allocations: 0.9503 MB / 339.3 MB, free: 7.215 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.1207, allocations: 81.11 kB / 339.4 MB, free: 7.117 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.1211, allocations: 381.6 kB / 339.8 MB, free: 6.734 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.1211, allocations: 37.7 kB / 339.8 MB, free: 6.691 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1213, allocations: 279.5 kB / 340.1 MB, free: 6.414 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.1214, allocations: 122.3 kB / 340.2 MB, free: 6.293 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1215, allocations: 74.03 kB / 340.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1217, allocations: 358.7 kB / 340.6 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.1219, allocations: 96.83 kB / 340.7 MB, free: 5.758 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.1221, allocations: 198.5 kB / 340.9 MB, free: 5.527 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.1226, allocations: 306 kB / 341.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1226, allocations: 4 kB / 341.2 MB, free: 5.188 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007477/0.1233, allocations: 446.6 kB / 341.7 MB, free: 4.738 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1234, allocations: 4 kB / 341.7 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1234, allocations: 4 kB / 341.7 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.1237, allocations: 81.69 kB / 341.8 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.124, allocations: 79.89 kB / 341.8 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.1264, allocations: 3.134 MB / 345 MB, free: 1.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.1267, allocations: 16.06 kB / 345 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.1268, allocations: 16 kB / 345 MB, free: 1.125 MB / 286.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.0001834/0.1269, allocations: 161.9 kB / 345.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.127, allocations: 43.52 kB / 345.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.952e-05/0.1271, allocations: 43.47 kB / 345.2 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1271, allocations: 4 kB / 345.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.1271, allocations: 7.938 kB / 345.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1272, allocations: 4 kB / 345.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.1286, allocations: 0.9435 MB / 346.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1286, allocations: 192 / 346.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.1288, allocations: 55.91 kB / 346.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.1291, allocations: 77.64 kB / 346.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1291, allocations: 4 kB / 346.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.1318, allocations: 3.139 MB / 349.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1318, allocations: 0 / 349.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008946/0.1327, allocations: 0.613 MB / 350.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/0.1328, allocations: 108.7 kB / 350.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.1329, allocations: 11.94 kB / 350.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.1332, allocations: 35.92 kB / 350.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.1333, allocations: 27.95 kB / 350.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.1333, allocations: 8 kB / 350.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.1336, allocations: 271.2 kB / 350.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1336, allocations: 0 / 350.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005562/0.1342, allocations: 116 kB / 350.7 MB, free: 11.07 MB / 302.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.0001669/0.1344, allocations: 123.1 kB / 350.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008873/0.1352, allocations: 0.5088 MB / 351.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.1353, allocations: 4.609 kB / 351.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.1358, allocations: 389.2 kB / 351.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.1364, allocations: 49.55 kB / 351.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1382, allocations: 1.174 MB / 352.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.1387, allocations: 0.8392 MB / 353.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.1388, allocations: 39.3 kB / 353.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.1389, allocations: 31.38 kB / 353.8 MB, free: 7.801 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1389, allocations: 7.938 kB / 353.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of Templates: time 0.008981/0.1479, allocations: 4.627 MB / 358.4 MB, free: 3.172 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)