Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.004865/0.004865, allocations: 102.4 kB / 15.73 MB, free: 6.016 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.001091/0.001091, allocations: 192 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.34/1.34, allocations: 205.1 MB / 222.6 MB, free: 4.469 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.001146/0.001146, allocations: 49.08 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09269, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.00556/0.09829, allocations: 3.734 MB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.1012, allocations: 1.476 MB / 378.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.1014, allocations: 8 kB / 378.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.1033, allocations: 0.7506 MB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.1047, allocations: 0.5754 MB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000987/0.1057, allocations: 414.5 kB / 380.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.1065, allocations: 493.9 kB / 380.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00089/0.1074, allocations: 477.8 kB / 381.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.1078, allocations: 227.1 kB / 381.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.1082, allocations: 286.9 kB / 381.6 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.1083, allocations: 44 kB / 381.6 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005929/0.1089, allocations: 215.8 kB / 381.8 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.109, allocations: 119.5 kB / 381.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.1093, allocations: 254.8 kB / 382.2 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008435/0.1101, allocations: 0.7048 MB / 382.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1101, allocations: 0 / 382.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1101, allocations: 0 / 382.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1102, allocations: 0 / 382.9 MB, free: 7.527 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.0022/0.1124, allocations: 0.9481 MB / 383.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.1124, allocations: 19.89 kB / 383.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/0.1167, allocations: 0.5818 MB / 384.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.1172, allocations: 315.6 kB / 384.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.1173, allocations: 41.69 kB / 384.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.1174, allocations: 60.36 kB / 384.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/0.1184, allocations: 0.5726 MB / 385.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1184, allocations: 0 / 385.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/0.1185, allocations: 28 kB / 385.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1185, allocations: 15.94 kB / 385.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.1196, allocations: 0.6415 MB / 386.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.1226, allocations: 2.036 MB / 388.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.125, allocations: 3.011 MB / 391.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.1255, allocations: 278 kB / 391.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.28e-05/0.1256, allocations: 89.53 kB / 391.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1256, allocations: 39 kB / 391.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/0.1256, allocations: 0 / 391.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001732/0.1274, allocations: 0.7466 MB / 392.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.1275, allocations: 67.66 kB / 392.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1277, allocations: 211.5 kB / 392.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.47e-05/0.1277, allocations: 33.7 kB / 392.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.1278, allocations: 240.1 kB / 392.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1279, allocations: 161.6 kB / 393 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.1281, allocations: 98.23 kB / 393.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1282, allocations: 338.8 kB / 393.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.1285, allocations: 157 kB / 393.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.1289, allocations: 283.7 kB / 393.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/0.1296, allocations: 478.2 kB / 394.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1296, allocations: 0 / 394.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00107/0.1307, allocations: 0.5903 MB / 394.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1307, allocations: 4 kB / 394.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1307, allocations: 4 kB / 394.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003604/0.1311, allocations: 80.8 kB / 395 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.1315, allocations: 119.8 kB / 395.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.1333, allocations: 1.77 MB / 396.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.1336, allocations: 55.5 kB / 396.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.1336, allocations: 24.23 kB / 397 MB, free: 8.316 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.0001994/0.1338, allocations: 173.7 kB / 397.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.1339, allocations: 35.62 kB / 397.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.135, allocations: 0.5473 MB / 397.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/0.135, allocations: 11.98 kB / 397.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.135, allocations: 0 / 397.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.135, allocations: 0 / 397.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.1367, allocations: 1.175 MB / 398.9 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1368, allocations: 0 / 398.9 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.1371, allocations: 79.91 kB / 399 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/0.1374, allocations: 80.78 kB / 399.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.1374, allocations: 20 kB / 399.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.1391, allocations: 1.773 MB / 400.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1391, allocations: 0 / 400.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.1404, allocations: 0.8145 MB / 401.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.1405, allocations: 116.7 kB / 401.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.1405, allocations: 12 kB / 401.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.1408, allocations: 19.98 kB / 401.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.1409, allocations: 36.45 kB / 401.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.1409, allocations: 16 kB / 401.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1411, allocations: 147.4 kB / 402 MB, free: 2.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1411, allocations: 0 / 402 MB, free: 2.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005478/0.1416, allocations: 159.6 kB / 402.2 MB, free: 2.84 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.0002229/0.1418, allocations: 127.1 kB / 402.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.143, allocations: 0.5932 MB / 402.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.143, allocations: 0 / 402.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.1436, allocations: 386 kB / 403.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1439, allocations: 43.92 kB / 403.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.1455, allocations: 0.8619 MB / 404.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.1459, allocations: 0.8211 MB / 405 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.1461, allocations: 51.27 kB / 405 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.1462, allocations: 35.42 kB / 405.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1462, allocations: 0 / 405.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Templates: time 0.009041/0.1552, allocations: 4.482 MB / 409.5 MB, free: 11.35 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)