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.001429/0.001428, allocations: 109.7 kB / 16.51 MB, free: 6.707 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.001569/0.001569, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.393/1.393, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.001037/0.001037, allocations: 48.2 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09849, allocations: 46.63 MB / 326 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004693/0.1032, allocations: 3.752 MB / 329.7 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.1057, allocations: 1.461 MB / 331.2 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.1059, allocations: 12 kB / 331.2 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.1074, allocations: 0.7083 MB / 331.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009881/0.1084, allocations: 0.5213 MB / 332.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.1091, allocations: 414.8 kB / 332.8 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.1095, allocations: 469.7 kB / 333.3 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006614/0.1102, allocations: 426.4 kB / 333.7 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.1105, allocations: 219.1 kB / 333.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.1107, allocations: 274.9 kB / 334.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.1108, allocations: 36 kB / 334.2 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.1112, allocations: 203.8 kB / 334.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.1113, allocations: 99.61 kB / 334.5 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.1115, allocations: 242.7 kB / 334.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006513/0.1122, allocations: 0.7009 MB / 335.5 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1122, allocations: 0 / 335.5 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1122, allocations: 0 / 335.5 MB, free: 11.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1122, allocations: 0 / 335.5 MB, free: 11.32 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.002113/0.1143, allocations: 0.9366 MB / 336.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1144, allocations: 12.03 kB / 336.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/0.1185, allocations: 0.5896 MB / 337 MB, free: 9.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.1189, allocations: 315.5 kB / 337.3 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/0.119, allocations: 49.69 kB / 337.3 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.1191, allocations: 52.38 kB / 337.4 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009454/0.12, allocations: 0.5687 MB / 338 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.12, allocations: 0 / 338 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.1201, allocations: 20 kB / 338 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.1201, allocations: 16 kB / 338 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.1212, allocations: 0.6492 MB / 338.7 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.1241, allocations: 2.071 MB / 340.7 MB, free: 5.832 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.1265, allocations: 2.996 MB / 343.7 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.127, allocations: 270 kB / 344 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.213e-05/0.1271, allocations: 89.53 kB / 344.1 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1271, allocations: 43 kB / 344.1 MB, free: 1.848 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 1.663e-06/0.1271, allocations: 0 / 344.1 MB, free: 1.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001659/0.1288, allocations: 0.7465 MB / 344.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.1288, allocations: 63.78 kB / 344.9 MB, free: 1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.129, allocations: 203.5 kB / 345.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.129, allocations: 29.7 kB / 345.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.1292, allocations: 248 kB / 345.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1293, allocations: 169.5 kB / 345.6 MB, free: 348 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.1294, allocations: 98.14 kB / 345.7 MB, free: 244 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1296, allocations: 334.8 kB / 346 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.1299, allocations: 165 kB / 346.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.1303, allocations: 279.7 kB / 346.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.131, allocations: 482.2 kB / 346.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.131, allocations: 0 / 346.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001052/0.1321, allocations: 0.5865 MB / 347.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1321, allocations: 8 kB / 347.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1321, allocations: 0 / 347.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.1324, allocations: 80.8 kB / 347.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.1329, allocations: 115.8 kB / 347.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.1346, allocations: 1.659 MB / 349.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.1349, allocations: 55.42 kB / 349.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.1349, allocations: 20 kB / 349.4 MB, free: 12.23 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.0001932/0.1351, allocations: 177.7 kB / 349.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.1352, allocations: 27.7 kB / 349.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.1363, allocations: 0.5474 MB / 350.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.1364, allocations: 19.86 kB / 350.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1364, allocations: 0 / 350.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1364, allocations: 7.922 kB / 350.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.138, allocations: 1.17 MB / 351.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1381, allocations: 0 / 351.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.1384, allocations: 79.89 kB / 351.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002643/0.1387, allocations: 80.88 kB / 351.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.1387, allocations: 15.98 kB / 351.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.1404, allocations: 1.624 MB / 353.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1404, allocations: 3.938 kB / 353.1 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.1417, allocations: 0.8219 MB / 354 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.1418, allocations: 112.7 kB / 354.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1419, allocations: 12.06 kB / 354.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.1421, allocations: 19.98 kB / 354.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1422, allocations: 44.33 kB / 354.2 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.1423, allocations: 15.94 kB / 354.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1424, allocations: 151.2 kB / 354.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1424, allocations: 0 / 354.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005972/0.143, allocations: 155.5 kB / 354.5 MB, free: 6.902 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.0002283/0.1433, allocations: 139.2 kB / 354.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1443, allocations: 0.5931 MB / 355.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1443, allocations: 0 / 355.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006112/0.1449, allocations: 390 kB / 355.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.1454, allocations: 35.98 kB / 355.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.1471, allocations: 1.076 MB / 356.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.1475, allocations: 0.8175 MB / 357.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.1477, allocations: 51.27 kB / 357.6 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.1478, allocations: 35.42 kB / 357.6 MB, free: 3.684 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1478, allocations: 0 / 357.6 MB, free: 3.684 MB / 302.1 MB Notification: Performance of Templates: time 0.008444/0.1563, allocations: 4.181 MB / 361.8 MB, free: 15.5 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)