Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.005583/0.005583, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001303/0.001303, allocations: 192.8 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.34/1.34, allocations: 205.1 MB / 222.5 MB, free: 4.469 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.001415/0.001415, allocations: 50.94 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005571/0.1108, allocations: 3.734 MB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.1139, allocations: 1.476 MB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.1146, allocations: 8 kB / 378.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.1167, allocations: 0.7545 MB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.1183, allocations: 0.5675 MB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.1193, allocations: 410.6 kB / 380.1 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000775/0.1201, allocations: 493.8 kB / 380.6 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007679/0.1209, allocations: 397.8 kB / 381 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004909/0.1214, allocations: 219.1 kB / 381.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.1219, allocations: 278.9 kB / 381.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.122, allocations: 44 kB / 381.5 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.1225, allocations: 207.8 kB / 381.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.1226, allocations: 111.6 kB / 381.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.1229, allocations: 254.7 kB / 382.1 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008798/0.1237, allocations: 0.697 MB / 382.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1238, allocations: 0 / 382.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1238, allocations: 0 / 382.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.1238, allocations: 4 kB / 382.8 MB, free: 7.672 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.002217/0.126, allocations: 0.9287 MB / 383.7 MB, free: 6.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1261, allocations: 8.031 kB / 383.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/0.1303, allocations: 0.5974 MB / 384.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.1308, allocations: 319.6 kB / 384.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.1309, allocations: 37.69 kB / 384.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.131, allocations: 60.38 kB / 384.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1321, allocations: 0.5492 MB / 385.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.1322, allocations: 0 / 385.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.1322, allocations: 24 kB / 385.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.1322, allocations: 20 kB / 385.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.1334, allocations: 0.6337 MB / 385.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.1366, allocations: 2.026 MB / 388 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.1393, allocations: 3.02 MB / 391 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003694/0.1397, allocations: 222.1 kB / 391.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.67e-05/0.1398, allocations: 89.53 kB / 391.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1399, allocations: 39 kB / 391.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.194e-06/0.1399, allocations: 0 / 391.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001889/0.1418, allocations: 0.7933 MB / 392.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1418, allocations: 59.78 kB / 392.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.142, allocations: 209 kB / 392.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.1421, allocations: 29.7 kB / 392.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1422, allocations: 244.1 kB / 392.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1424, allocations: 169.5 kB / 392.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.1425, allocations: 90.16 kB / 392.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1427, allocations: 338.8 kB / 393.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.143, allocations: 157 kB / 393.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.1434, allocations: 274 kB / 393.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/0.1442, allocations: 460.5 kB / 394.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1442, allocations: 0 / 394.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001204/0.1454, allocations: 0.5862 MB / 394.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.1454, allocations: 11.94 kB / 394.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1455, allocations: 4 kB / 394.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003719/0.1458, allocations: 93.03 kB / 394.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.1463, allocations: 103.9 kB / 394.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.1488, allocations: 2.049 MB / 396.9 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.1491, allocations: 59.52 kB / 397 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.1492, allocations: 20 kB / 397 MB, free: 8.277 MB / 334.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.0002595/0.1494, allocations: 177.6 kB / 397.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.1495, allocations: 27.62 kB / 397.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.1506, allocations: 0.5512 MB / 397.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.1507, allocations: 4 kB / 397.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1507, allocations: 7.938 kB / 397.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1507, allocations: 3.984 kB / 397.8 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.1525, allocations: 1.135 MB / 398.9 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1525, allocations: 0 / 398.9 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.1528, allocations: 75.89 kB / 399 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/0.1531, allocations: 100.7 kB / 399.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.1532, allocations: 8 kB / 399.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.1553, allocations: 2.035 MB / 401.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1553, allocations: 4.062 kB / 401.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.1566, allocations: 0.801 MB / 401.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1567, allocations: 112.6 kB / 402.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.1568, allocations: 8.062 kB / 402.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.157, allocations: 23.98 kB / 402.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/0.1572, allocations: 32.39 kB / 402.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.1572, allocations: 15.98 kB / 402.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1574, allocations: 151 kB / 402.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1574, allocations: 0 / 402.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007958/0.1582, allocations: 151.6 kB / 402.4 MB, free: 2.609 MB / 334.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.0003966/0.1586, allocations: 143.1 kB / 402.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.16, allocations: 0.5931 MB / 403.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.16, allocations: 3.938 kB / 403.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006135/0.1606, allocations: 381.9 kB / 403.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.161, allocations: 35.98 kB / 403.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1628, allocations: 0.8372 MB / 404.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.1633, allocations: 0.8172 MB / 405.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.1635, allocations: 51.27 kB / 405.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.1636, allocations: 39.42 kB / 405.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1636, allocations: 0 / 405.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Templates: time 0.009984/0.1736, allocations: 4.478 MB / 409.8 MB, free: 11.15 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)