Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.004646/0.004646, allocations: 107.8 kB / 15.74 MB, free: 6.441 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.001106/0.001106, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.326/1.326, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001139/0.001139, allocations: 54.2 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09765, allocations: 46.62 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005299/0.103, allocations: 3.734 MB / 376.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.1056, allocations: 1.472 MB / 378.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.1059, allocations: 8 kB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.1076, allocations: 0.7662 MB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.1088, allocations: 0.5636 MB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007855/0.1096, allocations: 418.5 kB / 380.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.1101, allocations: 0.49 MB / 380.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006378/0.1107, allocations: 473.8 kB / 381.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.111, allocations: 231.1 kB / 381.3 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.1113, allocations: 278.9 kB / 381.6 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.1114, allocations: 48 kB / 381.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.1118, allocations: 219.8 kB / 381.8 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.1119, allocations: 115.5 kB / 381.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.1121, allocations: 254.7 kB / 382.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.1128, allocations: 0.7126 MB / 382.9 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1128, allocations: 0 / 382.9 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1128, allocations: 0 / 382.9 MB, free: 7.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1128, allocations: 0 / 382.9 MB, free: 7.539 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002019/0.1149, allocations: 0.9404 MB / 383.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1149, allocations: 15.88 kB / 383.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004236/0.1191, allocations: 0.5857 MB / 384.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.1197, allocations: 323.6 kB / 384.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.1197, allocations: 41.69 kB / 384.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.477e-05/0.1198, allocations: 56.38 kB / 384.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009874/0.1208, allocations: 0.5687 MB / 385.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.1208, allocations: 0 / 385.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.1209, allocations: 24 kB / 385.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.1209, allocations: 16 kB / 385.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.122, allocations: 0.6415 MB / 386.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.125, allocations: 2.047 MB / 388.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.1276, allocations: 3.007 MB / 391.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.1281, allocations: 274 kB / 391.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.278e-05/0.1282, allocations: 85.55 kB / 391.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.1282, allocations: 39 kB / 391.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.424e-06/0.1282, allocations: 3.938 kB / 391.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.00175/0.13, allocations: 0.7466 MB / 392.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.13, allocations: 67.72 kB / 392.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1302, allocations: 203.5 kB / 392.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.1303, allocations: 37.7 kB / 392.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1304, allocations: 240.1 kB / 392.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.1306, allocations: 169.5 kB / 393 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1307, allocations: 94.25 kB / 393.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1308, allocations: 338.8 kB / 393.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.1311, allocations: 165 kB / 393.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.1316, allocations: 275.7 kB / 393.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/0.1323, allocations: 474.2 kB / 394.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1323, allocations: 0 / 394.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001037/0.1333, allocations: 0.5942 MB / 394.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1334, allocations: 12 kB / 394.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1334, allocations: 4 kB / 394.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.1337, allocations: 76.81 kB / 395 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.1341, allocations: 111.8 kB / 395.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.1359, allocations: 1.778 MB / 396.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.1362, allocations: 51.52 kB / 396.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.1363, allocations: 20 kB / 397 MB, free: 8.34 MB / 334.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.0002076/0.1365, allocations: 173.7 kB / 397.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.1366, allocations: 39.55 kB / 397.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.1376, allocations: 0.5475 MB / 397.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1377, allocations: 4 kB / 397.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1377, allocations: 8 kB / 397.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.1377, allocations: 3.984 kB / 397.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.1394, allocations: 1.167 MB / 398.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1394, allocations: 4.062 kB / 398.9 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.1398, allocations: 83.89 kB / 399 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002606/0.1401, allocations: 76.8 kB / 399.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.1401, allocations: 15.94 kB / 399.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.1418, allocations: 1.77 MB / 400.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1418, allocations: 0 / 400.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1431, allocations: 0.8262 MB / 401.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.1432, allocations: 108.7 kB / 401.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.1433, allocations: 15.98 kB / 401.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.1435, allocations: 16 kB / 401.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.1436, allocations: 40.38 kB / 401.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.1436, allocations: 16 kB / 401.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.1438, allocations: 147.5 kB / 402 MB, free: 3.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1438, allocations: 0 / 402 MB, free: 3.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005406/0.1443, allocations: 151.6 kB / 402.2 MB, free: 2.867 MB / 334.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.0002535/0.1446, allocations: 139.2 kB / 402.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1457, allocations: 0.594 MB / 402.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1457, allocations: 4.062 kB / 402.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.1463, allocations: 384.9 kB / 403.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1467, allocations: 31.94 kB / 403.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.1483, allocations: 0.8699 MB / 404.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.1488, allocations: 0.8134 MB / 405 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002099/0.149, allocations: 59.25 kB / 405 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.1491, allocations: 31.44 kB / 405.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1491, allocations: 0 / 405.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Templates: time 0.009152/0.1583, allocations: 4.482 MB / 409.6 MB, free: 11.37 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)