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.0008457/0.0008457, 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.007544/0.007545, allocations: 169.4 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.364/1.364, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004735/0.0004735, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2619, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003772/0.2657, allocations: 3.357 MB / 330.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.2685, allocations: 1.441 MB / 331.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.2687, allocations: 8.969 kB / 331.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.2692, allocations: 167.7 kB / 332 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.2705, allocations: 0.5234 MB / 332.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.2713, allocations: 393.4 kB / 332.9 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.2719, allocations: 467.8 kB / 333.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.2733, allocations: 0.7876 MB / 334.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.2737, allocations: 198.2 kB / 334.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.274, allocations: 243.4 kB / 334.6 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.2741, allocations: 21.44 kB / 334.6 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004751/0.2746, allocations: 183.9 kB / 334.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.2747, allocations: 91.53 kB / 334.9 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.2749, allocations: 240.4 kB / 335.1 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007197/0.2756, allocations: 0.6786 MB / 335.8 MB, free: 10.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2757, allocations: 4 kB / 335.8 MB, free: 10.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2757, allocations: 4 kB / 335.8 MB, free: 10.56 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2757, allocations: 0 / 335.8 MB, free: 10.56 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.002089/0.2778, allocations: 0.8312 MB / 336.6 MB, free: 9.684 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.2778, allocations: 8.031 kB / 336.6 MB, free: 9.676 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/0.2821, allocations: 0.5934 MB / 337.2 MB, free: 9.082 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.2826, allocations: 319.6 kB / 337.5 MB, free: 8.73 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.2826, allocations: 41.62 kB / 337.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/0.2827, allocations: 56.38 kB / 337.6 MB, free: 8.633 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.2838, allocations: 0.5765 MB / 338.2 MB, free: 8.051 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.2838, allocations: 4 kB / 338.2 MB, free: 8.047 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.2839, allocations: 24 kB / 338.2 MB, free: 8.023 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2839, allocations: 12 kB / 338.2 MB, free: 8.012 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.285, allocations: 0.6571 MB / 338.9 MB, free: 7.355 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.2882, allocations: 2.059 MB / 341 MB, free: 5.172 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.2908, allocations: 3 MB / 344 MB, free: 1.609 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/0.2913, allocations: 278.1 kB / 344.2 MB, free: 1.336 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.794e-05/0.2914, allocations: 89.53 kB / 344.3 MB, free: 1.227 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2915, allocations: 38.94 kB / 344.4 MB, free: 1.18 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.465e-06/0.2915, allocations: 0 / 344.4 MB, free: 1.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001833/0.2933, allocations: 0.7699 MB / 345.1 MB, free: 392 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2934, allocations: 59.78 kB / 345.2 MB, free: 320 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.2936, allocations: 200.8 kB / 345.4 MB, free: 108 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.2936, allocations: 41.7 kB / 345.4 MB, free: 60 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2938, allocations: 248 kB / 345.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.2939, allocations: 161.6 kB / 345.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.294, allocations: 45.7 kB / 345.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2941, allocations: 342.8 kB / 346.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.2944, allocations: 161 kB / 346.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.2948, allocations: 287.7 kB / 346.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.2956, allocations: 494.2 kB / 347.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2956, allocations: 0 / 347.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001101/0.2967, allocations: 0.6021 MB / 347.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.2967, allocations: 8 kB / 347.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.2967, allocations: 4 kB / 347.7 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/0.2971, allocations: 76.75 kB / 347.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.2976, allocations: 111.9 kB / 347.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.2993, allocations: 1.655 MB / 349.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.2996, allocations: 51.53 kB / 349.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.2997, allocations: 23.98 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.0002425/0.2999, allocations: 173.7 kB / 349.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.3, allocations: 27.62 kB / 349.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3012, allocations: 0.5631 MB / 350.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3012, allocations: 7.938 kB / 350.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3012, allocations: 4 kB / 350.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.3012, allocations: 7.922 kB / 350.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.303, allocations: 1.189 MB / 351.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.303, allocations: 0 / 351.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.3034, allocations: 79.84 kB / 351.7 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.3036, allocations: 84.8 kB / 351.8 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.3037, allocations: 16.05 kB / 351.8 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.3054, allocations: 1.644 MB / 353.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3054, allocations: 7.969 kB / 353.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.3068, allocations: 0.8298 MB / 354.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.307, allocations: 112.8 kB / 354.4 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.307, allocations: 8.062 kB / 354.4 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.3073, allocations: 24 kB / 354.4 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3074, allocations: 44.25 kB / 354.5 MB, free: 6.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.3074, allocations: 16 kB / 354.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.3076, allocations: 147.2 kB / 354.6 MB, free: 6.332 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3076, allocations: 0 / 354.6 MB, free: 6.332 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006558/0.3083, allocations: 155.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.0003123/0.3086, allocations: 139.1 kB / 354.9 MB, free: 6.031 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.3099, allocations: 0.6096 MB / 355.5 MB, free: 5.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3099, allocations: 0 / 355.5 MB, free: 5.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006893/0.3106, allocations: 389 kB / 355.9 MB, free: 5.02 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.3111, allocations: 35.94 kB / 355.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3129, allocations: 1.134 MB / 357.1 MB, free: 3.812 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.3133, allocations: 0.8175 MB / 357.9 MB, free: 2.969 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.3135, allocations: 55.25 kB / 357.9 MB, free: 2.918 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/0.3136, allocations: 43.36 kB / 358 MB, free: 2.875 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3136, allocations: 0 / 358 MB, free: 2.875 MB / 286.1 MB Notification: Performance of Templates: time 0.009019/0.3227, allocations: 4.106 MB / 362.1 MB, free: 14.76 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (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)