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.008051/0.008051, allocations: 99.81 kB / 15.73 MB, free: 6.059 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.002036/0.002036, allocations: 195 kB / 16.67 MB, free: 5.973 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.366/1.366, 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.001155/0.001155, allocations: 46.09 kB / 326.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09527, allocations: 46.63 MB / 373.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005738/0.1011, allocations: 3.734 MB / 376.9 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.1053, allocations: 1.468 MB / 378.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000722/0.1061, allocations: 12 kB / 378.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.1085, allocations: 0.7661 MB / 379.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.1106, allocations: 0.5675 MB / 379.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1119, allocations: 414.6 kB / 380.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009151/0.1128, allocations: 497.8 kB / 380.6 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008831/0.1137, allocations: 473.8 kB / 381.1 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.1142, allocations: 231.2 kB / 381.3 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004956/0.1147, allocations: 286.8 kB / 381.6 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.1148, allocations: 48 kB / 381.6 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/0.1155, allocations: 211.8 kB / 381.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1156, allocations: 119.5 kB / 381.9 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.1159, allocations: 242.8 kB / 382.2 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.117, allocations: 0.716 MB / 382.9 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.117, allocations: 0 / 382.9 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.117, allocations: 4 kB / 382.9 MB, free: 7.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.117, allocations: 0 / 382.9 MB, free: 7.637 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.002448/0.1195, allocations: 0.9588 MB / 383.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.1196, allocations: 11.89 kB / 383.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/0.1239, allocations: 0.5938 MB / 384.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005486/0.1245, allocations: 307.7 kB / 384.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.1246, allocations: 45.69 kB / 384.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.1247, allocations: 64.31 kB / 384.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.1258, allocations: 0.5687 MB / 385.4 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.1258, allocations: 0 / 385.4 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.1259, allocations: 20 kB / 385.5 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1259, allocations: 16 kB / 385.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.1271, allocations: 0.6454 MB / 386.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.1304, allocations: 2.056 MB / 388.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.1331, allocations: 3.007 MB / 391.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004917/0.1336, allocations: 270 kB / 391.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.634e-05/0.1337, allocations: 97.48 kB / 391.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1337, allocations: 42.98 kB / 391.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 3.196e-06/0.1337, allocations: 0 / 391.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001727/0.1355, allocations: 0.7544 MB / 392.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1355, allocations: 63.78 kB / 392.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1357, allocations: 195.6 kB / 392.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.1358, allocations: 33.7 kB / 392.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1359, allocations: 248.8 kB / 392.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.1361, allocations: 174.5 kB / 393 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.1362, allocations: 94.23 kB / 393.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1364, allocations: 334.8 kB / 393.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.1367, allocations: 165 kB / 393.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.1371, allocations: 287.6 kB / 393.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/0.1378, allocations: 470.2 kB / 394.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1378, allocations: 4 kB / 394.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001086/0.1389, allocations: 0.5903 MB / 395 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.139, allocations: 8 kB / 395 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.139, allocations: 4 kB / 395 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.1394, allocations: 92.91 kB / 395.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.1398, allocations: 103.9 kB / 395.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.1417, allocations: 1.782 MB / 396.9 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.142, allocations: 51.62 kB / 397 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.1421, allocations: 23.98 kB / 397 MB, free: 8.383 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.0002306/0.1423, allocations: 181.7 kB / 397.2 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.1424, allocations: 27.8 kB / 397.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.1435, allocations: 0.5473 MB / 397.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.1435, allocations: 8 kB / 397.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1435, allocations: 0 / 397.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.1435, allocations: 3.984 kB / 397.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.1453, allocations: 1.175 MB / 399 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.1454, allocations: 7.984 kB / 399 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.1457, allocations: 79.84 kB / 399 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.146, allocations: 80.86 kB / 399.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.146, allocations: 12 kB / 399.1 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.1476, allocations: 1.77 MB / 400.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1476, allocations: 0 / 400.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.149, allocations: 0.8187 MB / 401.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.1491, allocations: 120.8 kB / 401.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.1491, allocations: 12 kB / 401.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.1494, allocations: 24.05 kB / 401.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.1495, allocations: 40.33 kB / 401.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.1495, allocations: 16 kB / 401.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1496, allocations: 143.4 kB / 402.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1496, allocations: 0 / 402.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005594/0.1502, allocations: 151.7 kB / 402.2 MB, free: 2.906 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.0002407/0.1504, allocations: 135.1 kB / 402.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.1515, allocations: 0.597 MB / 402.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1515, allocations: 0 / 402.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.1521, allocations: 390.1 kB / 403.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1525, allocations: 27.94 kB / 403.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.154, allocations: 0.8805 MB / 404.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1544, allocations: 0.8172 MB / 405.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.1546, allocations: 55.25 kB / 405.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.1547, allocations: 35.42 kB / 405.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1548, allocations: 4 kB / 405.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Templates: time 0.009481/0.1642, allocations: 4.47 MB / 409.6 MB, free: 11.41 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)