Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 97.81 kB / 16.5 MB, free: 6.648 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.00109/0.00109, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.369/1.369, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001165/0.001165, allocations: 43.94 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09715, allocations: 46.64 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004994/0.1022, allocations: 3.764 MB / 329.7 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.1046, allocations: 1.446 MB / 331.2 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.1048, allocations: 15.94 kB / 331.2 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.1064, allocations: 0.7083 MB / 331.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.1075, allocations: 0.5252 MB / 332.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000782/0.1083, allocations: 410.8 kB / 332.8 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004585/0.1088, allocations: 462 kB / 333.3 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005961/0.1094, allocations: 364.8 kB / 333.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.1097, allocations: 199.2 kB / 333.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.11, allocations: 274.8 kB / 334.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.1101, allocations: 39.94 kB / 334.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.1104, allocations: 195.8 kB / 334.3 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.1106, allocations: 99.59 kB / 334.4 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.1108, allocations: 238.7 kB / 334.7 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007097/0.1115, allocations: 0.6736 MB / 335.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1115, allocations: 0 / 335.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1115, allocations: 0 / 335.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1115, allocations: 0 / 335.3 MB, free: 11.46 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.002044/0.1136, allocations: 0.9326 MB / 336.3 MB, free: 10.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1136, allocations: 8.031 kB / 336.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004196/0.1178, allocations: 0.5857 MB / 336.9 MB, free: 9.887 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.1183, allocations: 315.6 kB / 337.2 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.1183, allocations: 41.69 kB / 337.2 MB, free: 9.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/0.1184, allocations: 64.28 kB / 337.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1194, allocations: 0.5492 MB / 337.8 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.1195, allocations: 0 / 337.8 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.1195, allocations: 28 kB / 337.8 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1196, allocations: 12 kB / 337.9 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1207, allocations: 0.6375 MB / 338.5 MB, free: 8.203 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.1236, allocations: 2.05 MB / 340.5 MB, free: 6.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.126, allocations: 3.013 MB / 343.6 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.1264, allocations: 226 kB / 343.8 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.388e-05/0.1265, allocations: 89.53 kB / 343.9 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.1265, allocations: 42.98 kB / 343.9 MB, free: 2.062 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.886e-06/0.1265, allocations: 0 / 343.9 MB, free: 2.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001933/0.1285, allocations: 0.8009 MB / 344.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1285, allocations: 59.84 kB / 344.8 MB, free: 1.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.1287, allocations: 196.5 kB / 345 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1288, allocations: 33.7 kB / 345 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1289, allocations: 244 kB / 345.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1291, allocations: 169.6 kB / 345.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.1292, allocations: 94.16 kB / 345.5 MB, free: 424 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1294, allocations: 334.8 kB / 345.8 MB, free: 80 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.1297, allocations: 161 kB / 346 MB, free: 15.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.1301, allocations: 274 kB / 346.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007117/0.1308, allocations: 460.5 kB / 346.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.1308, allocations: 4 kB / 346.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001024/0.1318, allocations: 0.586 MB / 347.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1319, allocations: 7.938 kB / 347.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1319, allocations: 4 kB / 347.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.1322, allocations: 93.12 kB / 347.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.1326, allocations: 103.9 kB / 347.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.1346, allocations: 1.854 MB / 349.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.1349, allocations: 63.36 kB / 349.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.1349, allocations: 24.06 kB / 349.4 MB, free: 12.24 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002014/0.1351, allocations: 169.7 kB / 349.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.1352, allocations: 27.91 kB / 349.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.1363, allocations: 0.5511 MB / 350.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1363, allocations: 7.938 kB / 350.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1363, allocations: 4 kB / 350.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.1363, allocations: 15.91 kB / 350.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.1379, allocations: 1.13 MB / 351.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1379, allocations: 3.938 kB / 351.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.1382, allocations: 79.89 kB / 351.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/0.1385, allocations: 80.81 kB / 351.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.1385, allocations: 12 kB / 351.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.1404, allocations: 1.846 MB / 353.3 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1405, allocations: 0 / 353.3 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.1418, allocations: 0.8038 MB / 354.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.1419, allocations: 112.7 kB / 354.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.1419, allocations: 8 kB / 354.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.1422, allocations: 19.98 kB / 354.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1423, allocations: 40.38 kB / 354.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.1423, allocations: 12 kB / 354.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1424, allocations: 156.2 kB / 354.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1424, allocations: 0 / 354.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006352/0.1431, allocations: 151.5 kB / 354.6 MB, free: 6.766 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (44): * Single equations (assignments): 43 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002547/0.1434, allocations: 139.1 kB / 354.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.1445, allocations: 0.5939 MB / 355.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1445, allocations: 192 / 355.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000637/0.1452, allocations: 385 kB / 355.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.1457, allocations: 39.88 kB / 355.8 MB, free: 5.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.1477, allocations: 1.055 MB / 356.8 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.1482, allocations: 0.8175 MB / 357.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.1485, allocations: 51.27 kB / 357.7 MB, free: 3.613 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.1486, allocations: 35.36 kB / 357.7 MB, free: 3.578 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1486, allocations: 4 kB / 357.7 MB, free: 3.574 MB / 302.1 MB Notification: Performance of Templates: time 0.008802/0.1574, allocations: 4.173 MB / 361.9 MB, free: 15.4 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)