Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009449/0.000945, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009714/0.0009717, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005124/0.0005125, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2809, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003584/0.2845, allocations: 3.012 MB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.2872, allocations: 1.354 MB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.2874, allocations: 9.062 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.2878, allocations: 127 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.2889, allocations: 489.9 kB / 331.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.2896, allocations: 357.4 kB / 331.8 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.2901, allocations: 339.1 kB / 332.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.2915, allocations: 0.6895 MB / 332.8 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003898/0.2919, allocations: 178.3 kB / 333 MB, free: 12.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.2923, allocations: 232.1 kB / 333.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.2923, allocations: 20.75 kB / 333.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.2929, allocations: 159 kB / 333.4 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.293, allocations: 83.88 kB / 333.5 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2931, allocations: 104.1 kB / 333.6 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.2938, allocations: 0.5339 MB / 334.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2938, allocations: 0 / 334.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2938, allocations: 0 / 334.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.2938, allocations: 1.562 kB / 334.1 MB, free: 11.68 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.002283/0.2961, allocations: 0.846 MB / 334.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2962, allocations: 8.031 kB / 335 MB, free: 10.92 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004156/0.3003, allocations: 0.5886 MB / 335.5 MB, free: 10.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.3009, allocations: 322.3 kB / 335.9 MB, free: 9.973 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.3009, allocations: 49.31 kB / 335.9 MB, free: 9.926 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.996e-05/0.301, allocations: 56 kB / 336 MB, free: 9.871 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.3021, allocations: 0.5609 MB / 336.5 MB, free: 9.301 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.3022, allocations: 7.891 kB / 336.5 MB, free: 9.293 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.3022, allocations: 20 kB / 336.5 MB, free: 9.273 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3022, allocations: 16 kB / 336.6 MB, free: 9.258 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.3034, allocations: 0.6493 MB / 337.2 MB, free: 8.609 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.3068, allocations: 2.063 MB / 339.3 MB, free: 6.422 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.3099, allocations: 2.988 MB / 342.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.505e-05/0.31, allocations: 93.53 kB / 342.4 MB, free: 2.762 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3101, allocations: 38.98 kB / 342.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.605e-06/0.3101, allocations: 4 kB / 342.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001766/0.3118, allocations: 0.7743 MB / 343.2 MB, free: 1.906 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.3119, allocations: 63.78 kB / 343.2 MB, free: 1.832 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.3122, allocations: 204.7 kB / 343.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.3122, allocations: 37.7 kB / 343.5 MB, free: 1.582 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.3124, allocations: 236.1 kB / 343.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.3125, allocations: 165.5 kB / 343.9 MB, free: 1.184 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.3126, allocations: 12 kB / 343.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3127, allocations: 338.8 kB / 344.2 MB, free: 0.832 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.313, allocations: 173 kB / 344.4 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.3134, allocations: 282 kB / 344.6 MB, free: 352 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.3138, allocations: 204.7 kB / 344.8 MB, free: 148 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3138, allocations: 4 kB / 344.9 MB, free: 144 kB / 270.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00105/0.3148, allocations: 0.594 MB / 345.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3149, allocations: 8.406 kB / 345.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.3149, allocations: 11.94 kB / 345.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/0.3153, allocations: 80.8 kB / 345.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.3157, allocations: 115.8 kB / 345.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.3174, allocations: 1.663 MB / 347.3 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3177, allocations: 59.48 kB / 347.4 MB, free: 13.47 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.3178, allocations: 24 kB / 347.4 MB, free: 13.45 MB / 286.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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.318, allocations: 173.7 kB / 347.6 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.3181, allocations: 27.67 kB / 347.6 MB, free: 13.24 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.3192, allocations: 0.5746 MB / 348.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3192, allocations: 8 kB / 348.2 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3192, allocations: 0 / 348.2 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.3192, allocations: 3.984 kB / 348.2 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.321, allocations: 1.18 MB / 349.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.321, allocations: 8 kB / 349.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.3213, allocations: 87.89 kB / 349.5 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/0.3216, allocations: 76.8 kB / 349.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.3216, allocations: 12 kB / 349.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.3233, allocations: 1.656 MB / 351.2 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3233, allocations: 0 / 351.2 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.3246, allocations: 0.8351 MB / 352 MB, free: 8.582 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/0.3247, allocations: 120.5 kB / 352.2 MB, free: 8.445 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.3247, allocations: 12 kB / 352.2 MB, free: 8.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.3249, allocations: 15.98 kB / 352.2 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.325, allocations: 40.38 kB / 352.2 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.3251, allocations: 12 kB / 352.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3252, allocations: 155.2 kB / 352.4 MB, free: 8.215 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3252, allocations: 0 / 352.4 MB, free: 8.215 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005857/0.3258, allocations: 159.5 kB / 352.5 MB, free: 8.059 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002798/0.3261, allocations: 135.1 kB / 352.7 MB, free: 7.918 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3272, allocations: 0.6088 MB / 353.3 MB, free: 7.293 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3272, allocations: 0 / 353.3 MB, free: 7.293 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.3278, allocations: 397.8 kB / 353.7 MB, free: 6.895 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3281, allocations: 24.17 kB / 353.7 MB, free: 6.871 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.3296, allocations: 1.058 MB / 354.8 MB, free: 5.781 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.33, allocations: 0.8256 MB / 355.6 MB, free: 4.934 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002315/0.3302, allocations: 55.27 kB / 355.6 MB, free: 4.883 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.3303, allocations: 31.42 kB / 355.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3303, allocations: 0 / 355.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of Templates: time 0.008318/0.3387, allocations: 4.044 MB / 359.7 MB, free: 0.8047 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) Environment - environmentSimulation: