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.001486/0.001486, allocations: 113.8 kB / 16.63 MB, free: 6.816 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.001552/0.001552, allocations: 190 kB / 17.55 MB, free: 5.93 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.412/1.412, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001241/0.001241, allocations: 47.92 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09641, allocations: 46.62 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.00514/0.1016, allocations: 3.764 MB / 329.9 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1044, allocations: 1.438 MB / 331.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004295/0.1049, allocations: 12 kB / 331.3 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.1068, allocations: 0.7122 MB / 332.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.1084, allocations: 0.5135 MB / 332.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.1093, allocations: 410.8 kB / 333 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007298/0.1101, allocations: 477.9 kB / 333.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007917/0.1109, allocations: 434.1 kB / 333.9 MB, free: 13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004435/0.1113, allocations: 215.1 kB / 334.1 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.1117, allocations: 286.8 kB / 334.4 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.1119, allocations: 44 kB / 334.4 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.1124, allocations: 207.8 kB / 334.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.835e-05/0.1125, allocations: 107.6 kB / 334.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.1128, allocations: 250.7 kB / 335 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.1138, allocations: 0.697 MB / 335.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1138, allocations: 4 kB / 335.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1138, allocations: 0 / 335.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.1138, allocations: 0 / 335.7 MB, free: 11.21 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.00231/0.1161, allocations: 0.9286 MB / 336.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1162, allocations: 16.03 kB / 336.6 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/0.1206, allocations: 0.5779 MB / 337.2 MB, free: 9.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.1212, allocations: 315.7 kB / 337.5 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.1213, allocations: 45.69 kB / 337.5 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.1214, allocations: 56.28 kB / 337.6 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1226, allocations: 0.5647 MB / 338.1 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.1226, allocations: 7.984 kB / 338.2 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.1227, allocations: 20 kB / 338.2 MB, free: 8.594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1227, allocations: 12 kB / 338.2 MB, free: 8.582 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.1239, allocations: 0.6298 MB / 338.8 MB, free: 7.953 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/0.1275, allocations: 2.046 MB / 340.9 MB, free: 5.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.1303, allocations: 3.012 MB / 343.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.1308, allocations: 222.1 kB / 344.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.1309, allocations: 93.53 kB / 344.2 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1309, allocations: 35 kB / 344.2 MB, free: 1.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.096e-06/0.1309, allocations: 0 / 344.2 MB, free: 1.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001991/0.1329, allocations: 0.8087 MB / 345 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.133, allocations: 55.84 kB / 345.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.1333, allocations: 197.1 kB / 345.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.1333, allocations: 33.7 kB / 345.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.1334, allocations: 244 kB / 345.5 MB, free: 444 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.1336, allocations: 169.6 kB / 345.7 MB, free: 272 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.1338, allocations: 98.14 kB / 345.8 MB, free: 168 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1339, allocations: 342.8 kB / 346.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.1342, allocations: 157 kB / 346.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.1346, allocations: 273.9 kB / 346.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.1353, allocations: 464.5 kB / 347 MB, free: 14.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1353, allocations: 0 / 347 MB, free: 14.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001096/0.1364, allocations: 0.5825 MB / 347.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.1365, allocations: 11.94 kB / 347.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.1365, allocations: 0 / 347.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/0.1369, allocations: 100.8 kB / 347.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.1373, allocations: 103.8 kB / 347.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.1394, allocations: 2.041 MB / 349.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.1398, allocations: 55.42 kB / 349.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.1399, allocations: 20.19 kB / 349.9 MB, free: 11.8 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.0002436/0.1401, allocations: 169.7 kB / 350.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.1402, allocations: 31.66 kB / 350.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.1414, allocations: 0.5629 MB / 350.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1414, allocations: 4 kB / 350.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1414, allocations: 4 kB / 350.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.1415, allocations: 3.984 kB / 350.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.1434, allocations: 1.141 MB / 351.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1434, allocations: 0 / 351.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.1438, allocations: 79.89 kB / 351.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/0.1441, allocations: 84.81 kB / 352 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.1441, allocations: 12 kB / 352 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.1461, allocations: 2.042 MB / 354.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1462, allocations: 0 / 354.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.1475, allocations: 0.8076 MB / 354.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1477, allocations: 108.7 kB / 355 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.1477, allocations: 12 kB / 355 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.148, allocations: 19.98 kB / 355 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.1481, allocations: 32.39 kB / 355 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.1481, allocations: 16 kB / 355 MB, free: 6.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1483, allocations: 150.9 kB / 355.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1483, allocations: 4.25 kB / 355.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006734/0.149, allocations: 155.5 kB / 355.3 MB, free: 6.113 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.0003111/0.1493, allocations: 143 kB / 355.5 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.1506, allocations: 0.6056 MB / 356.1 MB, free: 5.344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1507, allocations: 4.062 kB / 356.1 MB, free: 5.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.1512, allocations: 385 kB / 356.5 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.1517, allocations: 44 kB / 356.5 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1536, allocations: 1.06 MB / 357.6 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.154, allocations: 0.821 MB / 358.4 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002522/0.1543, allocations: 51.27 kB / 358.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.1544, allocations: 39.42 kB / 358.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1544, allocations: 0 / 358.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of Templates: time 0.00978/0.1642, allocations: 4.383 MB / 362.9 MB, free: 14.5 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)