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.0007881/0.0007882, allocations: 97.28 kB / 16.65 MB, free: 6.59 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.0008374/0.0008376, allocations: 181.3 kB / 17.56 MB, free: 6.203 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.451/1.451, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0006513/0.0006513, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.116, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003772/0.1199, allocations: 3.351 MB / 331.7 MB, free: 384 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.1223, allocations: 1.438 MB / 333.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.1225, allocations: 8 kB / 333.1 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.123, allocations: 167.2 kB / 333.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.1242, allocations: 0.5175 MB / 333.8 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.125, allocations: 394.9 kB / 334.2 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.1255, allocations: 477.6 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.127, allocations: 0.7912 MB / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.1274, allocations: 187.1 kB / 335.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.1277, allocations: 246.9 kB / 335.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.1277, allocations: 23.98 kB / 335.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.1281, allocations: 179.9 kB / 336.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.1282, allocations: 83.61 kB / 336.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.1284, allocations: 248.4 kB / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00068/0.1291, allocations: 0.6814 MB / 337.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1291, allocations: 0 / 337.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1292, allocations: 0 / 337.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1292, allocations: 4 kB / 337.1 MB, free: 10.92 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.001979/0.1312, allocations: 0.839 MB / 337.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1312, allocations: 11.97 kB / 337.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/0.1354, allocations: 0.5934 MB / 338.5 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.1359, allocations: 315.6 kB / 338.8 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.136, allocations: 41.69 kB / 338.9 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.1361, allocations: 56.38 kB / 338.9 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.1372, allocations: 0.5803 MB / 339.5 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.1372, allocations: 0 / 339.5 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.1373, allocations: 28 kB / 339.5 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1373, allocations: 12 kB / 339.5 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1384, allocations: 0.6532 MB / 340.2 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.1418, allocations: 2.059 MB / 342.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.1447, allocations: 3 MB / 345.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.1452, allocations: 274.1 kB / 345.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.855e-05/0.1453, allocations: 89.55 kB / 345.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.1453, allocations: 46.98 kB / 345.7 MB, free: 1.527 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.016e-06/0.1453, allocations: 0 / 345.7 MB, free: 1.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001817/0.1471, allocations: 0.7738 MB / 346.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1472, allocations: 63.78 kB / 346.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1475, allocations: 195.5 kB / 346.7 MB, free: 460 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.1475, allocations: 37.7 kB / 346.7 MB, free: 416 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.1477, allocations: 248.1 kB / 347 MB, free: 164 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.1478, allocations: 161.6 kB / 347.1 MB, free: 0 / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.1479, allocations: 53.69 kB / 347.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1481, allocations: 330.8 kB / 347.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.1484, allocations: 169 kB / 347.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.1488, allocations: 287.7 kB / 347.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.1495, allocations: 490.2 kB / 348.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1495, allocations: 0 / 348.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001096/0.1506, allocations: 0.5982 MB / 349 MB, free: 13.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1506, allocations: 4 kB / 349 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.1507, allocations: 8 kB / 349 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003756/0.151, allocations: 80.8 kB / 349.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.1515, allocations: 111.8 kB / 349.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.1531, allocations: 1.651 MB / 350.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.1535, allocations: 59.58 kB / 350.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.1535, allocations: 23.94 kB / 351 MB, free: 11.91 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.0002216/0.1537, allocations: 165.8 kB / 351.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.1538, allocations: 31.62 kB / 351.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.1549, allocations: 0.5707 MB / 351.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.1549, allocations: 11.88 kB / 351.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.155, allocations: 3.938 kB / 351.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.155, allocations: 3.984 kB / 351.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.1568, allocations: 1.181 MB / 352.9 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1568, allocations: 4 kB / 352.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.1572, allocations: 79.89 kB / 353 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/0.1574, allocations: 84.78 kB / 353.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.1575, allocations: 15.98 kB / 353.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.159, allocations: 1.636 MB / 354.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.159, allocations: 7.875 kB / 354.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.1603, allocations: 0.8297 MB / 355.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.1604, allocations: 112.7 kB / 355.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.1604, allocations: 8 kB / 355.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.1607, allocations: 28.05 kB / 355.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.1608, allocations: 40.33 kB / 355.8 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.1608, allocations: 12 kB / 355.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1609, allocations: 151.2 kB / 355.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1609, allocations: 0 / 355.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005476/0.1615, allocations: 155.6 kB / 356.1 MB, free: 6.531 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.0002273/0.1617, allocations: 139.1 kB / 356.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.1628, allocations: 0.5977 MB / 356.8 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1629, allocations: 4.25 kB / 356.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.1635, allocations: 392.9 kB / 357.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.1639, allocations: 43.88 kB / 357.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.1657, allocations: 1.13 MB / 358.4 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.1662, allocations: 0.8175 MB / 359.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.1664, allocations: 47.27 kB / 359.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.621e-05/0.1665, allocations: 39.42 kB / 359.3 MB, free: 3.238 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1665, allocations: 0 / 359.3 MB, free: 3.238 MB / 302.1 MB Notification: Performance of Templates: time 0.008812/0.1753, allocations: 4.114 MB / 363.4 MB, free: 15.12 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)