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.005327/0.005327, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.0012/0.0012, allocations: 194.3 kB / 16.67 MB, free: 5.938 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.337/1.337, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001258/0.001258, allocations: 50.27 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09572, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005055/0.1008, allocations: 3.734 MB / 376.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.1036, allocations: 1.465 MB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.1041, allocations: 11.94 kB / 378.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.106, allocations: 0.7661 MB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.1074, allocations: 0.5598 MB / 379.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008615/0.1082, allocations: 422.5 kB / 380.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006124/0.1089, allocations: 489.8 kB / 380.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006332/0.1095, allocations: 393.8 kB / 381 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.1099, allocations: 215.2 kB / 381.2 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.1103, allocations: 286.8 kB / 381.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.1104, allocations: 44 kB / 381.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.1107, allocations: 203.8 kB / 381.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.1108, allocations: 111.6 kB / 381.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.1111, allocations: 250.7 kB / 382.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008662/0.1119, allocations: 0.7043 MB / 382.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.112, allocations: 0 / 382.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.112, allocations: 0 / 382.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.112, allocations: 4 kB / 382.8 MB, free: 7.656 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.002153/0.1141, allocations: 0.9471 MB / 383.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1142, allocations: 8.031 kB / 383.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00409/0.1183, allocations: 0.5937 MB / 384.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.1188, allocations: 307.8 kB / 384.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.1188, allocations: 41.69 kB / 384.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.609e-05/0.1189, allocations: 52.38 kB / 384.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.12, allocations: 0.5647 MB / 385.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.12, allocations: 0 / 385.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.1201, allocations: 28 kB / 385.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1201, allocations: 16 kB / 385.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.1212, allocations: 0.6337 MB / 386 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.1242, allocations: 2.031 MB / 388 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.1268, allocations: 3.02 MB / 391 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.1272, allocations: 214.1 kB / 391.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-05/0.1273, allocations: 93.53 kB / 391.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1273, allocations: 31 kB / 391.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 1.803e-06/0.1273, allocations: 4 kB / 391.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001865/0.1292, allocations: 0.8012 MB / 392.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.1293, allocations: 59.78 kB / 392.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1295, allocations: 209 kB / 392.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.1295, allocations: 37.7 kB / 392.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1296, allocations: 248.8 kB / 392.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1298, allocations: 170.5 kB / 392.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1299, allocations: 98.19 kB / 393 MB, free: 12.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.13, allocations: 338.8 kB / 393.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.1303, allocations: 157 kB / 393.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.1307, allocations: 277.9 kB / 393.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006945/0.1314, allocations: 460.5 kB / 394.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1314, allocations: 0 / 394.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001004/0.1324, allocations: 0.5823 MB / 394.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1325, allocations: 15.92 kB / 394.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1325, allocations: 4 kB / 394.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.1328, allocations: 89.19 kB / 394.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.1332, allocations: 111.8 kB / 395 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.1352, allocations: 2.037 MB / 397 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.1355, allocations: 63.61 kB / 397.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.1355, allocations: 20 kB / 397.1 MB, free: 8.223 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.000188/0.1357, allocations: 169.9 kB / 397.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.1358, allocations: 27.86 kB / 397.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.1369, allocations: 0.5628 MB / 397.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1369, allocations: 4 kB / 397.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1369, allocations: 4 kB / 397.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1369, allocations: 7.984 kB / 397.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.1386, allocations: 1.135 MB / 399 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1386, allocations: 0 / 399 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.1389, allocations: 79.89 kB / 399.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.1392, allocations: 88.75 kB / 399.1 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.1392, allocations: 15.98 kB / 399.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.1412, allocations: 2.039 MB / 401.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1412, allocations: 4.062 kB / 401.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1425, allocations: 0.8049 MB / 402 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.1427, allocations: 116.9 kB / 402.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.1427, allocations: 8 kB / 402.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.1429, allocations: 23.98 kB / 402.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.143, allocations: 32.39 kB / 402.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.1431, allocations: 15.98 kB / 402.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1432, allocations: 147 kB / 402.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1432, allocations: 0 / 402.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005496/0.1437, allocations: 159.8 kB / 402.5 MB, free: 2.535 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.00023/0.144, allocations: 131.2 kB / 402.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.145, allocations: 0.5931 MB / 403.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1451, allocations: 0.8125 kB / 403.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.1456, allocations: 392.9 kB / 403.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1459, allocations: 31.98 kB / 403.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1474, allocations: 0.8595 MB / 404.5 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.1478, allocations: 0.8172 MB / 405.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.148, allocations: 51.25 kB / 405.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.148, allocations: 35.44 kB / 405.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1481, allocations: 0 / 405.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Templates: time 0.008522/0.1566, allocations: 4.466 MB / 409.9 MB, free: 11.07 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)