Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001122/0.001123, allocations: 195 kB / 18 MB, free: 5.105 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.31/1.31, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.002189/0.002189, allocations: 51.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1234, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004883/0.1283, allocations: 3.749 MB / 378.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2518/0.3801, allocations: 1.464 MB / 379.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.3804, allocations: 8.25 kB / 379.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.383, allocations: 0.7528 MB / 380.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002/0.3851, allocations: 0.5659 MB / 381 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3864, allocations: 424.2 kB / 381.4 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.3872, allocations: 498.1 kB / 381.9 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.3884, allocations: 465.5 kB / 382.4 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.3889, allocations: 232.2 kB / 382.6 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.3893, allocations: 285.7 kB / 382.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.58e-05/0.3894, allocations: 47.03 kB / 382.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005589/0.39, allocations: 214.6 kB / 383.1 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.3901, allocations: 118.8 kB / 383.2 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.3903, allocations: 249.9 kB / 383.5 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008687/0.3912, allocations: 0.7115 MB / 384.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3912, allocations: 0 / 384.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3912, allocations: 4.547 kB / 384.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3912, allocations: 1.25 kB / 384.2 MB, free: 8.832 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.002086/0.3933, allocations: 0.9491 MB / 385.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3934, allocations: 12.48 kB / 385.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/0.3976, allocations: 0.5838 MB / 385.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.3983, allocations: 313.2 kB / 386.1 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.3983, allocations: 45.03 kB / 386.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/0.3984, allocations: 54.16 kB / 386.2 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3994, allocations: 0.5699 MB / 386.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.3995, allocations: 9.578 kB / 386.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.3995, allocations: 21.5 kB / 386.8 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.3996, allocations: 13.53 kB / 386.8 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.4007, allocations: 0.6432 MB / 387.4 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.4039, allocations: 2.047 MB / 389.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.4062, allocations: 3.007 MB / 392.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.4067, allocations: 266.8 kB / 392.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.36e-05/0.4068, allocations: 89.45 kB / 392.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.4069, allocations: 41.91 kB / 392.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 3.677e-06/0.4069, allocations: 1.469 kB / 392.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001893/0.4088, allocations: 0.7539 MB / 393.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.4088, allocations: 68.52 kB / 393.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.4091, allocations: 196.2 kB / 393.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.4091, allocations: 39.42 kB / 393.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.4092, allocations: 238.8 kB / 394.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.4094, allocations: 165.9 kB / 394.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.4095, allocations: 94.14 kB / 394.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.4096, allocations: 337 kB / 394.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.4099, allocations: 163 kB / 394.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.4103, allocations: 281.9 kB / 395.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007305/0.4111, allocations: 490.9 kB / 395.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4111, allocations: 0 / 395.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001177/0.4122, allocations: 0.5842 MB / 396.2 MB, free: 492 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.4123, allocations: 7.922 kB / 396.2 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4123, allocations: 3.219 kB / 396.2 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.4127, allocations: 82.92 kB / 396.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.4132, allocations: 111.7 kB / 396.4 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.415, allocations: 1.779 MB / 398.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.4153, allocations: 55.27 kB / 398.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.4154, allocations: 21.67 kB / 398.3 MB, free: 14.81 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002416/0.4156, allocations: 167.8 kB / 398.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/0.4157, allocations: 33.66 kB / 398.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.4168, allocations: 0.5608 MB / 399 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4169, allocations: 3.594 kB / 399 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4169, allocations: 3.5 kB / 399 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.4169, allocations: 2.578 kB / 399 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.4189, allocations: 1.164 MB / 400.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.419, allocations: 3.75 kB / 400.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.4193, allocations: 76.94 kB / 400.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.4196, allocations: 87.84 kB / 400.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.4196, allocations: 9.484 kB / 400.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.4213, allocations: 1.771 MB / 402.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4213, allocations: 0 / 402.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.4228, allocations: 0.8157 MB / 403 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4229, allocations: 116 kB / 403.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.423, allocations: 8.016 kB / 403.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.4232, allocations: 24.45 kB / 403.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.4234, allocations: 38.31 kB / 403.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.4234, allocations: 16.27 kB / 403.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.4236, allocations: 144.9 kB / 403.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4236, allocations: 3.938 kB / 403.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007075/0.4243, allocations: 161.4 kB / 403.5 MB, free: 11.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/0.4246, allocations: 132.7 kB / 403.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.4258, allocations: 0.5971 MB / 404.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4258, allocations: 0 / 404.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.4264, allocations: 385.3 kB / 404.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4268, allocations: 44.14 kB / 404.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.4285, allocations: 0.8589 MB / 405.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.4289, allocations: 0.813 MB / 406.3 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.4292, allocations: 56.98 kB / 406.3 MB, free: 9.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.877e-05/0.4293, allocations: 35.16 kB / 406.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4293, allocations: 0 / 406.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of Templates: time 0.01013/0.4394, allocations: 4.588 MB / 411 MB, free: 7.609 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)