Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.004992/0.004992, allocations: 96.53 kB / 15.73 MB, free: 6.039 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.001174/0.001174, allocations: 196.4 kB / 16.67 MB, free: 5.969 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.332/1.332, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.001145/0.001145, allocations: 46.94 kB / 326.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1037, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005177/0.1089, allocations: 3.726 MB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.1119, allocations: 1.472 MB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.1122, allocations: 8 kB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.114, allocations: 0.7701 MB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.1152, allocations: 0.5559 MB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.116, allocations: 422.5 kB / 380.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004857/0.1165, allocations: 493.8 kB / 380.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005953/0.1171, allocations: 389.8 kB / 381 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.1174, allocations: 219.1 kB / 381.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.1177, allocations: 278.9 kB / 381.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.1178, allocations: 47.94 kB / 381.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.1182, allocations: 203.9 kB / 381.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/0.1183, allocations: 115.6 kB / 381.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.1185, allocations: 242.7 kB / 382.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007453/0.1192, allocations: 0.7121 MB / 382.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1193, allocations: 0 / 382.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1193, allocations: 0 / 382.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1193, allocations: 4 kB / 382.8 MB, free: 7.664 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.002173/0.1215, allocations: 0.9432 MB / 383.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1215, allocations: 12.03 kB / 383.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004234/0.1257, allocations: 0.5898 MB / 384.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.1262, allocations: 307.7 kB / 384.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.1263, allocations: 45.69 kB / 384.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.1264, allocations: 52.38 kB / 384.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009913/0.1274, allocations: 0.5647 MB / 385.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1274, allocations: 0 / 385.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.1275, allocations: 24 kB / 385.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.1275, allocations: 12 kB / 385.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.1286, allocations: 0.6337 MB / 386 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.1316, allocations: 2.031 MB / 388 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.1343, allocations: 3.016 MB / 391 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.1346, allocations: 218.1 kB / 391.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.578e-05/0.1347, allocations: 89.53 kB / 391.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1348, allocations: 39 kB / 391.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/0.1348, allocations: 3.938 kB / 391.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.002041/0.1368, allocations: 0.8051 MB / 392.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.1369, allocations: 55.84 kB / 392.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.1371, allocations: 205 kB / 392.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.1372, allocations: 41.7 kB / 392.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1373, allocations: 236.8 kB / 392.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1375, allocations: 174.5 kB / 392.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.1376, allocations: 102.2 kB / 392.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1378, allocations: 334.8 kB / 393.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.1381, allocations: 161 kB / 393.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.1385, allocations: 277.9 kB / 393.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.1392, allocations: 460.5 kB / 394.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1392, allocations: 0 / 394.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001023/0.1402, allocations: 0.5784 MB / 394.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1403, allocations: 11.92 kB / 394.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1403, allocations: 4 kB / 394.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/0.1406, allocations: 97.19 kB / 394.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.1411, allocations: 111.8 kB / 394.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.1432, allocations: 2.049 MB / 397 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.1436, allocations: 59.86 kB / 397.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.1436, allocations: 23.94 kB / 397.1 MB, free: 8.227 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.0002126/0.1438, allocations: 173.7 kB / 397.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.1439, allocations: 23.86 kB / 397.3 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.145, allocations: 0.5628 MB / 397.8 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.145, allocations: 4 kB / 397.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.145, allocations: 0 / 397.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.145, allocations: 3.984 kB / 397.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.1467, allocations: 1.139 MB / 399 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1467, allocations: 4 kB / 399 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.147, allocations: 79.89 kB / 399.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.1473, allocations: 84.81 kB / 399.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.1473, allocations: 15.98 kB / 399.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.1492, allocations: 2.031 MB / 401.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1492, allocations: 8.094 kB / 401.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.1504, allocations: 0.8048 MB / 402 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1505, allocations: 112.9 kB / 402.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.1506, allocations: 12 kB / 402.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.1508, allocations: 19.98 kB / 402.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.1509, allocations: 32.39 kB / 402.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.1509, allocations: 19.98 kB / 402.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.151, allocations: 143.2 kB / 402.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1511, allocations: 4 kB / 402.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006241/0.1517, allocations: 159.6 kB / 402.5 MB, free: 2.547 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.0002414/0.1519, allocations: 135.1 kB / 402.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.153, allocations: 0.597 MB / 403.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1531, allocations: 0.8125 kB / 403.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005782/0.1536, allocations: 389 kB / 403.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.154, allocations: 31.92 kB / 403.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1557, allocations: 0.8634 MB / 404.5 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.1562, allocations: 0.8133 MB / 405.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.1564, allocations: 55.25 kB / 405.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.804e-05/0.1565, allocations: 27.44 kB / 405.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1565, allocations: 0 / 405.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of Templates: time 0.008842/0.1654, allocations: 4.474 MB / 409.9 MB, free: 11.08 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)