Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.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.005634/0.005639, allocations: 99.33 kB / 15.73 MB, free: 6.012 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.001107/0.001107, allocations: 190.4 kB / 16.67 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.523/1.523, allocations: 205.1 MB / 222.6 MB, free: 4.465 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.001114/0.001114, allocations: 54.67 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.1007, allocations: 46.62 MB / 373.2 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004958/0.1057, allocations: 4.026 MB / 377.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1073, allocations: 0.9199 MB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.1075, allocations: 8 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.1077, allocations: 95.06 kB / 378.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.1081, allocations: 190.4 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.1085, allocations: 135.8 kB / 378.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006447/0.1092, allocations: 0.6809 MB / 379.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.1095, allocations: 207 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.1098, allocations: 259 kB / 379.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.1101, allocations: 294.6 kB / 380 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/0.1102, allocations: 60 kB / 380.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.1103, allocations: 55.94 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.1105, allocations: 131.5 kB / 380.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.1107, allocations: 302.5 kB / 380.5 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.1113, allocations: 0.6379 MB / 381.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1113, allocations: 0 / 381.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1113, allocations: 4 kB / 381.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.1113, allocations: 0 / 381.2 MB, free: 9.234 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.001336/0.1127, allocations: 0.88 MB / 382.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1127, allocations: 16.02 kB / 382.1 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.463e-05/0.1128, allocations: 72.5 kB / 382.1 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.1134, allocations: 364 kB / 382.5 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.1134, allocations: 37.38 kB / 382.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.1135, allocations: 48.38 kB / 382.6 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007306/0.1143, allocations: 483.5 kB / 383 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1143, allocations: 0 / 383 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.1143, allocations: 24 kB / 383.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1144, allocations: 15.94 kB / 383.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.115, allocations: 332.3 kB / 383.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.1174, allocations: 1.674 MB / 385.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.1179, allocations: 270.2 kB / 385.4 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1181, allocations: 145.6 kB / 385.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1181, allocations: 4 kB / 385.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1182, allocations: 38.5 kB / 385.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.1182, allocations: 4 kB / 385.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00183/0.12, allocations: 0.9608 MB / 386.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.1201, allocations: 81.11 kB / 386.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.1205, allocations: 385.6 kB / 387 MB, free: 3.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.1205, allocations: 33.7 kB / 387 MB, free: 3.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.1207, allocations: 292.2 kB / 387.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.536e-05/0.1208, allocations: 115 kB / 387.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.1209, allocations: 74.12 kB / 387.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1211, allocations: 358.7 kB / 387.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.1213, allocations: 96.83 kB / 387.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.1215, allocations: 198.5 kB / 388.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.122, allocations: 310 kB / 388.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.122, allocations: 4 kB / 388.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000743/0.1228, allocations: 442.7 kB / 388.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1228, allocations: 8 kB / 388.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1228, allocations: 4 kB / 388.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.1232, allocations: 85.81 kB / 388.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.1235, allocations: 79.89 kB / 389 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.126, allocations: 3.123 MB / 392.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.1263, allocations: 27.98 kB / 392.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.1264, allocations: 23.92 kB / 392.2 MB, free: 13.48 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.0002044/0.1266, allocations: 165.8 kB / 392.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/0.1267, allocations: 39.77 kB / 392.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.1267, allocations: 47.41 kB / 392.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1267, allocations: 7.938 kB / 392.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.1268, allocations: 8.125 kB / 392.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1268, allocations: 7.984 kB / 392.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.1281, allocations: 0.9287 MB / 393.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1281, allocations: 0 / 393.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.1282, allocations: 43.97 kB / 393.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/0.1285, allocations: 85.58 kB / 393.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1285, allocations: 4 kB / 393.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.1308, allocations: 3.139 MB / 396.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1309, allocations: 3.938 kB / 396.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/0.1317, allocations: 0.6098 MB / 397.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1318, allocations: 116.9 kB / 397.4 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.1319, allocations: 11.94 kB / 397.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.1322, allocations: 23.98 kB / 397.4 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/0.1323, allocations: 31.86 kB / 397.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1323, allocations: 12 kB / 397.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002703/0.1326, allocations: 275.2 kB / 397.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1326, allocations: 0 / 397.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000573/0.1332, allocations: 116 kB / 397.8 MB, free: 7.426 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.0001681/0.1334, allocations: 111.3 kB / 397.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009016/0.1343, allocations: 0.5207 MB / 398.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1343, allocations: 0 / 398.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005585/0.1348, allocations: 387.3 kB / 398.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1353, allocations: 53.55 kB / 398.9 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.137, allocations: 0.9772 MB / 399.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1374, allocations: 0.8314 MB / 400.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.1375, allocations: 51.28 kB / 400.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.1376, allocations: 27.44 kB / 400.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1376, allocations: 0 / 400.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of Templates: time 0.009466/0.1471, allocations: 4.747 MB / 405.5 MB, free: 15.6 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)