Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001133/0.001133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.412/1.412, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.001446/0.001446, allocations: 59.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2577, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.006284/0.264, allocations: 3.731 MB / 329.1 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.2677, allocations: 1.466 MB / 330.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005459/0.2683, allocations: 9.344 kB / 330.5 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.2706, allocations: 0.761 MB / 331.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.2724, allocations: 0.5609 MB / 331.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.2736, allocations: 428.3 kB / 332.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009341/0.2745, allocations: 478.8 kB / 332.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008877/0.2754, allocations: 391.2 kB / 333.1 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005867/0.276, allocations: 216.8 kB / 333.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006113/0.2766, allocations: 277.1 kB / 333.6 MB, free: 11.6 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.2768, allocations: 50.22 kB / 333.6 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000764/0.2776, allocations: 207.9 kB / 333.9 MB, free: 11.35 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.2778, allocations: 119.5 kB / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.2782, allocations: 242.8 kB / 334.2 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.2795, allocations: 0.6969 MB / 334.9 MB, free: 10.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2796, allocations: 4 kB / 334.9 MB, free: 10.29 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2796, allocations: 0 / 334.9 MB, free: 10.29 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.2796, allocations: 0 / 334.9 MB, free: 10.29 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.002578/0.2822, allocations: 0.9364 MB / 335.8 MB, free: 9.305 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2822, allocations: 8.031 kB / 335.8 MB, free: 9.297 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004249/0.2865, allocations: 0.5857 MB / 336.4 MB, free: 8.711 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.287, allocations: 315.6 kB / 336.7 MB, free: 8.363 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.2871, allocations: 49.69 kB / 336.8 MB, free: 8.312 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.2872, allocations: 56.28 kB / 336.8 MB, free: 8.258 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.2883, allocations: 0.5531 MB / 337.4 MB, free: 7.703 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.2884, allocations: 4 kB / 337.4 MB, free: 7.699 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.777e-05/0.2884, allocations: 20 kB / 337.4 MB, free: 7.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.2885, allocations: 12 kB / 337.4 MB, free: 7.668 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.2896, allocations: 0.6375 MB / 338.1 MB, free: 7.027 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.293, allocations: 2.046 MB / 340.1 MB, free: 4.84 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.2956, allocations: 3.008 MB / 343.1 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.296, allocations: 222.1 kB / 343.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.38e-05/0.2961, allocations: 85.55 kB / 343.4 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2962, allocations: 39 kB / 343.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.384e-06/0.2962, allocations: 0 / 343.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001936/0.2981, allocations: 0.8049 MB / 344.3 MB, free: 68 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.2982, allocations: 55.84 kB / 344.3 MB, free: 0 / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.2984, allocations: 198.3 kB / 344.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.2984, allocations: 37.7 kB / 344.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.2986, allocations: 240 kB / 344.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.2987, allocations: 165.6 kB / 345 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.2989, allocations: 98.16 kB / 345 MB, free: 15.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.299, allocations: 334.8 kB / 345.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.2994, allocations: 165 kB / 345.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.2997, allocations: 270 kB / 345.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007152/0.3005, allocations: 468.5 kB / 346.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3005, allocations: 0 / 346.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001083/0.3016, allocations: 0.5784 MB / 346.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.3016, allocations: 7.938 kB / 346.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3016, allocations: 4 kB / 346.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003925/0.302, allocations: 100.9 kB / 346.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.3025, allocations: 107.9 kB / 347 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.3047, allocations: 2.049 MB / 349.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.3051, allocations: 55.42 kB / 349.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.3051, allocations: 20 kB / 349.2 MB, free: 10.88 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 (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.0002643/0.3054, allocations: 177.7 kB / 349.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.3055, allocations: 31.72 kB / 349.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.3066, allocations: 0.5549 MB / 349.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.3066, allocations: 11.97 kB / 349.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3067, allocations: 0 / 349.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3067, allocations: 4 kB / 349.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.3084, allocations: 1.134 MB / 351.1 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3084, allocations: 3.984 kB / 351.1 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.3088, allocations: 75.91 kB / 351.2 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.3091, allocations: 88.8 kB / 351.2 MB, free: 8.723 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.3091, allocations: 16 kB / 351.3 MB, free: 8.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.3111, allocations: 2.038 MB / 353.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3111, allocations: 0 / 353.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.3124, allocations: 0.8076 MB / 354.1 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.3125, allocations: 104.7 kB / 354.2 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.3125, allocations: 12 kB / 354.2 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.3128, allocations: 19.98 kB / 354.2 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3129, allocations: 40.44 kB / 354.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.3129, allocations: 12 kB / 354.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.3131, allocations: 154.9 kB / 354.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3131, allocations: 0 / 354.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006591/0.3137, allocations: 155.5 kB / 354.6 MB, free: 5.195 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 (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.0002465/0.314, allocations: 143.1 kB / 354.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.3153, allocations: 0.6087 MB / 355.3 MB, free: 4.422 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3153, allocations: 3.938 kB / 355.3 MB, free: 4.418 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.3159, allocations: 385.8 kB / 355.7 MB, free: 4.027 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.3163, allocations: 32 kB / 355.8 MB, free: 3.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.3179, allocations: 0.8528 MB / 356.6 MB, free: 3.113 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.3183, allocations: 0.821 MB / 357.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002369/0.3186, allocations: 51.25 kB / 357.5 MB, free: 2.223 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/0.3187, allocations: 35.62 kB / 357.5 MB, free: 2.188 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3187, allocations: 4 kB / 357.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of Templates: time 0.009483/0.3282, allocations: 4.43 MB / 361.9 MB, free: 13.75 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)