Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0009235/0.0009236, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006804/0.006804, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.379/1.379, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004196/0.0004197, allocations: 12 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2253, allocations: 47.58 MB / 327 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003321/0.2286, allocations: 3.352 MB / 330.4 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.2313, allocations: 1.44 MB / 331.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.2315, allocations: 9.75 kB / 331.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.232, allocations: 167.3 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.2332, allocations: 0.5152 MB / 332.5 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.2341, allocations: 402.2 kB / 332.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005782/0.2347, allocations: 472.3 kB / 333.4 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.236, allocations: 0.7758 MB / 334.1 MB, free: 11.99 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.2364, allocations: 197.2 kB / 334.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.2367, allocations: 247.9 kB / 334.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.2367, allocations: 21.72 kB / 334.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.2372, allocations: 180.5 kB / 334.8 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.2372, allocations: 91.53 kB / 334.9 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.2375, allocations: 244.4 kB / 335.1 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.2381, allocations: 0.6747 MB / 335.8 MB, free: 10.58 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2381, allocations: 0 / 335.8 MB, free: 10.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2382, allocations: 4 kB / 335.8 MB, free: 10.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2382, allocations: 0 / 335.8 MB, free: 10.57 MB / 270.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.001973/0.2401, allocations: 0.839 MB / 336.6 MB, free: 9.688 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.2402, allocations: 8.031 kB / 336.6 MB, free: 9.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.2444, allocations: 0.5934 MB / 337.2 MB, free: 9.086 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.2448, allocations: 319.6 kB / 337.5 MB, free: 8.734 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.2449, allocations: 41.69 kB / 337.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.767e-05/0.245, allocations: 56.38 kB / 337.6 MB, free: 8.637 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.2461, allocations: 0.5765 MB / 338.2 MB, free: 8.055 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.2461, allocations: 0 / 338.2 MB, free: 8.055 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.2462, allocations: 28 kB / 338.2 MB, free: 8.027 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.2462, allocations: 12 kB / 338.2 MB, free: 8.016 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.2473, allocations: 0.6571 MB / 338.9 MB, free: 7.359 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.2505, allocations: 2.067 MB / 341 MB, free: 5.168 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.2531, allocations: 2.996 MB / 344 MB, free: 1.609 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.2536, allocations: 270.1 kB / 344.2 MB, free: 1.344 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.855e-05/0.2537, allocations: 89.53 kB / 344.3 MB, free: 1.234 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.2538, allocations: 42.94 kB / 344.4 MB, free: 1.184 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.705e-06/0.2538, allocations: 0 / 344.4 MB, free: 1.184 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001782/0.2556, allocations: 0.766 MB / 345.1 MB, free: 400 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.2556, allocations: 63.78 kB / 345.2 MB, free: 324 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.2559, allocations: 196.8 kB / 345.4 MB, free: 116 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.2559, allocations: 45.69 kB / 345.4 MB, free: 64 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.2561, allocations: 244 kB / 345.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.2562, allocations: 157.7 kB / 345.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.2563, allocations: 53.69 kB / 345.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.2565, allocations: 330.8 kB / 346.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.2569, allocations: 169 kB / 346.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.2573, allocations: 295.6 kB / 346.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/0.2581, allocations: 478.2 kB / 347.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.2581, allocations: 4 kB / 347.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001115/0.2592, allocations: 0.6021 MB / 347.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2592, allocations: 7.938 kB / 347.7 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2592, allocations: 4 kB / 347.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.2596, allocations: 84.78 kB / 347.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.26, allocations: 111.9 kB / 347.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.2618, allocations: 1.659 MB / 349.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.2622, allocations: 55.52 kB / 349.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.2622, allocations: 20 kB / 349.7 MB, free: 11.56 MB / 286.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.0002403/0.2625, allocations: 173.7 kB / 349.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.2625, allocations: 35.61 kB / 349.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.2637, allocations: 0.5592 MB / 350.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.2638, allocations: 7.938 kB / 350.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2638, allocations: 0 / 350.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.2638, allocations: 3.984 kB / 350.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.2657, allocations: 1.189 MB / 351.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2657, allocations: 4 kB / 351.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.266, allocations: 83.83 kB / 351.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.2663, allocations: 84.86 kB / 351.8 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.2664, allocations: 12 kB / 351.8 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.2679, allocations: 1.64 MB / 353.4 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.268, allocations: 7.922 kB / 353.4 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.2693, allocations: 0.8298 MB / 354.3 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.2694, allocations: 112.8 kB / 354.4 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.2694, allocations: 8.062 kB / 354.4 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.2697, allocations: 23.98 kB / 354.4 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.2698, allocations: 44.27 kB / 354.5 MB, free: 6.496 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.2699, allocations: 15.98 kB / 354.5 MB, free: 6.48 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.27, allocations: 147.3 kB / 354.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.27, allocations: 0 / 354.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006344/0.2707, allocations: 159.5 kB / 354.8 MB, free: 6.18 MB / 286.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.000244/0.2709, allocations: 139.2 kB / 354.9 MB, free: 6.031 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.272, allocations: 0.6056 MB / 355.5 MB, free: 5.414 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.272, allocations: 0 / 355.5 MB, free: 5.414 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.2726, allocations: 389 kB / 355.9 MB, free: 5.023 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.273, allocations: 36.3 kB / 355.9 MB, free: 4.988 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.2746, allocations: 1.141 MB / 357.1 MB, free: 3.809 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.275, allocations: 0.8175 MB / 357.9 MB, free: 2.965 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000233/0.2752, allocations: 55.25 kB / 357.9 MB, free: 2.914 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.423e-05/0.2753, allocations: 35.44 kB / 358 MB, free: 2.879 MB / 286.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2753, allocations: 0 / 358 MB, free: 2.879 MB / 286.1 MB Notification: Performance of Templates: time 0.00864/0.284, allocations: 4.118 MB / 362.1 MB, free: 14.75 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)