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.005765/0.005765, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.001186/0.001186, allocations: 196.8 kB / 16.68 MB, free: 5.953 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.338/1.338, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001302/0.001302, allocations: 50.42 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.0955, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005282/0.1008, allocations: 3.722 MB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.1037, allocations: 1.472 MB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000469/0.1042, allocations: 8 kB / 378.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.1064, allocations: 0.7701 MB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.108, allocations: 0.5714 MB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009645/0.109, allocations: 414.5 kB / 380.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007354/0.1097, allocations: 497.8 kB / 380.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000759/0.1105, allocations: 477.8 kB / 381.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.1109, allocations: 231.1 kB / 381.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.1113, allocations: 282.9 kB / 381.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.865e-05/0.1114, allocations: 44 kB / 381.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.1119, allocations: 223.8 kB / 381.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.1121, allocations: 115.5 kB / 381.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.1124, allocations: 250.8 kB / 382.2 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009866/0.1134, allocations: 0.7087 MB / 382.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.1134, allocations: 4 kB / 382.9 MB, free: 7.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1134, allocations: 0 / 382.9 MB, free: 7.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.1135, allocations: 3.938 kB / 382.9 MB, free: 7.52 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.00264/0.1161, allocations: 0.9443 MB / 383.9 MB, free: 6.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.1162, allocations: 15.89 kB / 383.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004445/0.1206, allocations: 0.5818 MB / 384.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.1213, allocations: 319.6 kB / 384.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.1214, allocations: 37.69 kB / 384.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.1215, allocations: 60.38 kB / 384.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.1228, allocations: 0.5687 MB / 385.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.1229, allocations: 7.938 kB / 385.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.123, allocations: 24 kB / 385.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.123, allocations: 12 kB / 385.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.1244, allocations: 0.6376 MB / 386.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.1279, allocations: 2.043 MB / 388.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.1307, allocations: 3.003 MB / 391.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.1313, allocations: 278 kB / 391.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-05/0.1314, allocations: 85.55 kB / 391.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1314, allocations: 43 kB / 391.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.455e-06/0.1314, allocations: 0 / 391.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001889/0.1333, allocations: 0.7504 MB / 392.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1334, allocations: 59.78 kB / 392.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1336, allocations: 211.4 kB / 392.6 MB, free: 13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.903e-05/0.1337, allocations: 33.7 kB / 392.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1339, allocations: 240.1 kB / 392.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.134, allocations: 169.5 kB / 393 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.1342, allocations: 94.23 kB / 393.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1343, allocations: 342.8 kB / 393.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.1347, allocations: 157 kB / 393.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.1351, allocations: 279.7 kB / 393.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008479/0.1359, allocations: 482.2 kB / 394.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.136, allocations: 0 / 394.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001168/0.1371, allocations: 0.5903 MB / 394.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1372, allocations: 4 kB / 394.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1372, allocations: 4 kB / 394.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.1376, allocations: 76.81 kB / 395 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.138, allocations: 119.8 kB / 395.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.1402, allocations: 1.778 MB / 396.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.1406, allocations: 47.53 kB / 396.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.1407, allocations: 27.94 kB / 397 MB, free: 8.32 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.0002684/0.141, allocations: 173.7 kB / 397.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.141, allocations: 35.62 kB / 397.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.1422, allocations: 0.5551 MB / 397.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.1422, allocations: 4 kB / 397.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1422, allocations: 0 / 397.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.1422, allocations: 7.969 kB / 397.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.1442, allocations: 1.167 MB / 398.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1442, allocations: 0 / 398.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.1446, allocations: 83.89 kB / 399 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.1448, allocations: 76.8 kB / 399.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.1449, allocations: 16.06 kB / 399.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.1469, allocations: 1.766 MB / 400.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.147, allocations: 4.031 kB / 400.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.1484, allocations: 0.8185 MB / 401.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.1485, allocations: 112.6 kB / 401.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/0.1486, allocations: 12 kB / 401.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.1488, allocations: 19.98 kB / 401.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1489, allocations: 40.45 kB / 401.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.149, allocations: 16 kB / 401.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.1491, allocations: 147.4 kB / 402 MB, free: 3.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.264e-06/0.1491, allocations: 0 / 402 MB, free: 3.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006187/0.1498, allocations: 163.5 kB / 402.2 MB, free: 2.844 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.0003077/0.1501, allocations: 127.2 kB / 402.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1513, allocations: 0.5932 MB / 402.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1513, allocations: 4 kB / 402.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000643/0.152, allocations: 382 kB / 403.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.1524, allocations: 39.94 kB / 403.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.1543, allocations: 0.8619 MB / 404.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.1548, allocations: 0.8172 MB / 405 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.155, allocations: 55.25 kB / 405 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.1551, allocations: 31.44 kB / 405.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1551, allocations: 0 / 405.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of Templates: time 0.01014/0.1652, allocations: 4.486 MB / 409.5 MB, free: 11.36 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)