Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001073/0.001073, allocations: 88.95 kB / 16.31 MB, free: 6.449 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.001308/0.001308, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.541/1.541, allocations: 205.4 MB / 223.4 MB, free: 5.492 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.0004834/0.0004835, allocations: 12 kB / 280.2 MB, free: 12.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2841, allocations: 47.58 MB / 327.7 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003477/0.2876, allocations: 3.17 MB / 330.9 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.2903, allocations: 1.339 MB / 332.2 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.2906, allocations: 10 kB / 332.3 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.2911, allocations: 130.2 kB / 332.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.2924, allocations: 474.2 kB / 332.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.2932, allocations: 348.5 kB / 333.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005653/0.2937, allocations: 440.3 kB / 333.6 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.295, allocations: 0.6493 MB / 334.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.2953, allocations: 178.9 kB / 334.4 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.2956, allocations: 239.5 kB / 334.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.2957, allocations: 21.16 kB / 334.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.2961, allocations: 179.7 kB / 334.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.2962, allocations: 86.75 kB / 335 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.645e-05/0.2963, allocations: 101.2 kB / 335.1 MB, free: 11.97 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.2969, allocations: 0.5246 MB / 335.6 MB, free: 11.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2969, allocations: 0 / 335.6 MB, free: 11.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2969, allocations: 0 / 335.6 MB, free: 11.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2969, allocations: 4 kB / 335.6 MB, free: 11.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.001868/0.2988, allocations: 0.8317 MB / 336.4 MB, free: 10.73 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2989, allocations: 12.03 kB / 336.4 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003841/0.3027, allocations: 0.5964 MB / 337 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/0.3033, allocations: 314.3 kB / 337.3 MB, free: 9.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.3033, allocations: 41.31 kB / 337.4 MB, free: 9.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.3034, allocations: 56 kB / 337.4 MB, free: 9.676 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.3045, allocations: 0.5531 MB / 338 MB, free: 9.113 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.3045, allocations: 7.906 kB / 338 MB, free: 9.105 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/0.3046, allocations: 24 kB / 338 MB, free: 9.082 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.3046, allocations: 12 kB / 338 MB, free: 9.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.3058, allocations: 0.6454 MB / 338.7 MB, free: 8.426 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.3088, allocations: 2.058 MB / 340.7 MB, free: 6.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.3116, allocations: 3.001 MB / 343.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.3119, allocations: 230 kB / 343.9 MB, free: 2.441 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.531e-05/0.312, allocations: 93.52 kB / 344 MB, free: 2.332 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3121, allocations: 39 kB / 344.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.3121, allocations: 0 / 344.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001771/0.3139, allocations: 0.809 MB / 344.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.3139, allocations: 55.84 kB / 344.9 MB, free: 1.379 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.3141, allocations: 205.5 kB / 345.1 MB, free: 1.172 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.3142, allocations: 33.7 kB / 345.2 MB, free: 1.133 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.3143, allocations: 244.1 kB / 345.4 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3145, allocations: 165.6 kB / 345.6 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.3145, allocations: 12 kB / 345.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3147, allocations: 334.8 kB / 345.9 MB, free: 388 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.315, allocations: 165 kB / 346.1 MB, free: 224 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.3153, allocations: 270 kB / 346.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.3157, allocations: 212.7 kB / 346.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3157, allocations: 0 / 346.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001007/0.3168, allocations: 0.5903 MB / 347.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3168, allocations: 4 kB / 347.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3168, allocations: 4 kB / 347.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.3171, allocations: 100.7 kB / 347.2 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.3175, allocations: 103.8 kB / 347.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.3195, allocations: 1.85 MB / 349.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.3197, allocations: 63.48 kB / 349.3 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.3198, allocations: 23.94 kB / 349.3 MB, free: 12.82 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 (58): * Single equations (assignments): 57 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002139/0.32, allocations: 165.7 kB / 349.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.3201, allocations: 23.72 kB / 349.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.3211, allocations: 0.5629 MB / 350 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3211, allocations: 7.953 kB / 350 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3211, allocations: 4 kB / 350 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3212, allocations: 3.984 kB / 350 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.3228, allocations: 1.161 MB / 351.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3228, allocations: 0 / 351.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.3231, allocations: 83.89 kB / 351.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.3234, allocations: 92.75 kB / 351.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.3234, allocations: 7.984 kB / 351.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.3251, allocations: 1.839 MB / 353.2 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3252, allocations: 3.953 kB / 353.2 MB, free: 8.656 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.3264, allocations: 0.8077 MB / 354 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/0.3265, allocations: 120.6 kB / 354.2 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.3266, allocations: 4 kB / 354.2 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3268, allocations: 28.05 kB / 354.2 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.3269, allocations: 32.39 kB / 354.2 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.3269, allocations: 19.95 kB / 354.2 MB, free: 7.609 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.327, allocations: 148.1 kB / 354.4 MB, free: 7.465 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3271, allocations: 4.125 kB / 354.4 MB, free: 7.461 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006307/0.3277, allocations: 151.6 kB / 354.5 MB, free: 7.312 MB / 286.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 (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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000245/0.3279, allocations: 135.1 kB / 354.7 MB, free: 7.172 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.329, allocations: 0.5938 MB / 355.3 MB, free: 6.566 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.329, allocations: 4.25 kB / 355.3 MB, free: 6.562 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006251/0.3296, allocations: 389 kB / 355.6 MB, free: 6.168 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.33, allocations: 28.12 kB / 355.7 MB, free: 6.141 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.3315, allocations: 1.069 MB / 356.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.3319, allocations: 0.8175 MB / 357.6 MB, free: 4.203 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.3321, allocations: 51.25 kB / 357.6 MB, free: 4.156 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/0.3322, allocations: 35.44 kB / 357.6 MB, free: 4.121 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3322, allocations: 4 kB / 357.6 MB, free: 4.117 MB / 286.1 MB Notification: Performance of Templates: time 0.00835/0.3406, allocations: 3.993 MB / 361.6 MB, free: 124 kB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)