Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 108.4 kB / 16.92 MB, free: 5.789 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.001043/0.001043, allocations: 191.3 kB / 17.85 MB, free: 5.191 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.322/1.322, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.001562/0.001562, allocations: 56.14 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09747, allocations: 46.62 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005736/0.1033, allocations: 3.742 MB / 330.4 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.1062, allocations: 1.461 MB / 331.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005068/0.1067, allocations: 11.94 kB / 331.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.1089, allocations: 0.7663 MB / 332.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.1104, allocations: 0.5636 MB / 333.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.1115, allocations: 430.5 kB / 333.6 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006739/0.1121, allocations: 481.8 kB / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008888/0.113, allocations: 470.2 kB / 334.5 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004768/0.1135, allocations: 227.1 kB / 334.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.114, allocations: 290.8 kB / 335 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.1141, allocations: 48 kB / 335.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005881/0.1147, allocations: 211.8 kB / 335.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1148, allocations: 111.6 kB / 335.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.1151, allocations: 262.7 kB / 335.6 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008538/0.116, allocations: 0.697 MB / 336.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.116, allocations: 0 / 336.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.116, allocations: 0 / 336.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.116, allocations: 4 kB / 336.3 MB, free: 10.7 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00206/0.1181, allocations: 0.9404 MB / 337.3 MB, free: 9.711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1182, allocations: 11.89 kB / 337.3 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/0.1224, allocations: 0.5857 MB / 337.9 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.1229, allocations: 323.5 kB / 338.2 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.123, allocations: 49.62 kB / 338.2 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.1231, allocations: 52.38 kB / 338.3 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.1241, allocations: 0.5726 MB / 338.9 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1241, allocations: 0 / 338.9 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.1242, allocations: 24 kB / 338.9 MB, free: 8.059 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.1242, allocations: 12 kB / 338.9 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.1253, allocations: 0.6493 MB / 339.6 MB, free: 7.395 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.1286, allocations: 2.063 MB / 341.6 MB, free: 5.207 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.1314, allocations: 3 MB / 344.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.1319, allocations: 274 kB / 344.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.676e-05/0.132, allocations: 89.55 kB / 345 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.1321, allocations: 42.98 kB / 345 MB, free: 1.211 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.745e-06/0.1321, allocations: 0 / 345 MB, free: 1.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001831/0.1339, allocations: 0.7466 MB / 345.8 MB, free: 448 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.134, allocations: 63.78 kB / 345.8 MB, free: 372 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1342, allocations: 195.5 kB / 346 MB, free: 164 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.1342, allocations: 37.7 kB / 346 MB, free: 120 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1344, allocations: 244.2 kB / 346.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.1346, allocations: 165.6 kB / 346.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.1348, allocations: 102.1 kB / 346.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1349, allocations: 334.8 kB / 346.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.1352, allocations: 165 kB / 347 MB, free: 15.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.1357, allocations: 287.6 kB / 347.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/0.1364, allocations: 470.2 kB / 347.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.1364, allocations: 4 kB / 347.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001122/0.1376, allocations: 0.5863 MB / 348.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.1376, allocations: 11.28 kB / 348.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1376, allocations: 4 kB / 348.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003603/0.138, allocations: 84.95 kB / 348.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.1384, allocations: 107.8 kB / 348.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.1403, allocations: 1.789 MB / 350.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.1407, allocations: 51.44 kB / 350.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.1407, allocations: 23.98 kB / 350.4 MB, free: 11.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.1409, allocations: 173.7 kB / 350.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.141, allocations: 31.66 kB / 350.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.1422, allocations: 0.5513 MB / 351.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1422, allocations: 4 kB / 351.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1422, allocations: 4 kB / 351.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.1423, allocations: 7.922 kB / 351.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.1442, allocations: 1.173 MB / 352.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.1442, allocations: 7.984 kB / 352.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.1446, allocations: 79.91 kB / 352.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002988/0.1449, allocations: 80.86 kB / 352.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.1449, allocations: 8 kB / 352.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.1469, allocations: 1.774 MB / 354.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1469, allocations: 0 / 354.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.1483, allocations: 0.8141 MB / 355.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1484, allocations: 120.6 kB / 355.3 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.1485, allocations: 8 kB / 355.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.1487, allocations: 23.98 kB / 355.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.1489, allocations: 32.39 kB / 355.3 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.1489, allocations: 20.06 kB / 355.3 MB, free: 6.293 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1491, allocations: 147.2 kB / 355.5 MB, free: 6.148 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1491, allocations: 0 / 355.5 MB, free: 6.148 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006085/0.1497, allocations: 155.5 kB / 355.6 MB, free: 5.996 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (46): * Single equations (assignments): 45 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002698/0.15, allocations: 135.2 kB / 355.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.1513, allocations: 0.6091 MB / 356.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1513, allocations: 0 / 356.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.1519, allocations: 396.9 kB / 356.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.1524, allocations: 28.62 kB / 356.8 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1543, allocations: 0.874 MB / 357.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.1548, allocations: 0.8171 MB / 358.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.1551, allocations: 51.27 kB / 358.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.102e-05/0.1552, allocations: 35.42 kB / 358.6 MB, free: 2.969 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1552, allocations: 8 kB / 358.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of Templates: time 0.009371/0.1645, allocations: 4.431 MB / 363 MB, free: 14.52 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)