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.00141/0.001411, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001946/0.001947, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.302/1.302, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001158/0.001158, allocations: 55.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.246, allocations: 46.63 MB / 324.9 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005118/0.2512, allocations: 3.758 MB / 328.6 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.2542, allocations: 1.454 MB / 330.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.2545, allocations: 9.625 kB / 330.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.2564, allocations: 0.7063 MB / 330.8 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.2576, allocations: 0.5146 MB / 331.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008563/0.2585, allocations: 395.1 kB / 331.7 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005699/0.2591, allocations: 487.4 kB / 332.2 MB, free: 12.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00095/0.26, allocations: 0.507 MB / 332.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004508/0.2605, allocations: 228.9 kB / 332.9 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.261, allocations: 297.5 kB / 333.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.2611, allocations: 47.34 kB / 333.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.2616, allocations: 211.8 kB / 333.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.2617, allocations: 115.6 kB / 333.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.2619, allocations: 254.7 kB / 333.8 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007335/0.2627, allocations: 0.7048 MB / 334.5 MB, free: 10.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2627, allocations: 0 / 334.5 MB, free: 10.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2627, allocations: 0 / 334.5 MB, free: 10.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.2627, allocations: 0 / 334.5 MB, free: 10.42 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.002066/0.2648, allocations: 0.9443 MB / 335.4 MB, free: 9.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2648, allocations: 11.89 kB / 335.5 MB, free: 9.418 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.2687, allocations: 0.5818 MB / 336 MB, free: 8.836 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.2691, allocations: 327.5 kB / 336.4 MB, free: 8.477 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.2692, allocations: 45.69 kB / 336.4 MB, free: 8.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.2692, allocations: 56.28 kB / 336.5 MB, free: 8.375 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009311/0.2702, allocations: 0.5687 MB / 337 MB, free: 7.801 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.2702, allocations: 7.938 kB / 337 MB, free: 7.793 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.2703, allocations: 20 kB / 337.1 MB, free: 7.773 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.2703, allocations: 12 kB / 337.1 MB, free: 7.762 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.2713, allocations: 0.6454 MB / 337.7 MB, free: 7.117 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.2742, allocations: 2.059 MB / 339.8 MB, free: 4.934 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.2765, allocations: 2.992 MB / 342.8 MB, free: 1.375 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.277, allocations: 278 kB / 343 MB, free: 1.102 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-05/0.2771, allocations: 97.52 kB / 343.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.2771, allocations: 39 kB / 343.2 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 3.346e-06/0.2771, allocations: 0 / 343.2 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001591/0.2787, allocations: 0.7504 MB / 343.9 MB, free: 164 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.2788, allocations: 59.78 kB / 344 MB, free: 92 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.279, allocations: 208.7 kB / 344.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.279, allocations: 29.7 kB / 344.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.2791, allocations: 240.1 kB / 344.4 MB, free: 15.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.2793, allocations: 169.5 kB / 344.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.2794, allocations: 94.16 kB / 344.7 MB, free: 15.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2795, allocations: 334.8 kB / 345 MB, free: 15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.2798, allocations: 165 kB / 345.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.2802, allocations: 291.6 kB / 345.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.2809, allocations: 474.2 kB / 345.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.2809, allocations: 0 / 345.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009951/0.2819, allocations: 0.5863 MB / 346.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2819, allocations: 4 kB / 346.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2819, allocations: 4 kB / 346.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/0.2823, allocations: 84.98 kB / 346.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.2827, allocations: 111.8 kB / 346.7 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.2843, allocations: 1.781 MB / 348.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.2846, allocations: 55.42 kB / 348.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.2846, allocations: 20 kB / 348.6 MB, free: 11.2 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.0001883/0.2848, allocations: 173.7 kB / 348.7 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.2849, allocations: 27.66 kB / 348.8 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.2859, allocations: 0.5629 MB / 349.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.286, allocations: 8 kB / 349.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.286, allocations: 0 / 349.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.286, allocations: 3.984 kB / 349.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.2876, allocations: 1.173 MB / 350.5 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2876, allocations: 0 / 350.5 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.288, allocations: 87.83 kB / 350.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.2882, allocations: 80.81 kB / 350.7 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.2883, allocations: 15.98 kB / 350.7 MB, free: 8.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.2898, allocations: 1.762 MB / 352.5 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2898, allocations: 4.031 kB / 352.5 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.291, allocations: 0.8179 MB / 353.3 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.291, allocations: 112.6 kB / 353.4 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.2911, allocations: 12 kB / 353.4 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.2913, allocations: 19.98 kB / 353.4 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.2914, allocations: 40.38 kB / 353.5 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.2915, allocations: 16.06 kB / 353.5 MB, free: 6.023 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.2916, allocations: 151.2 kB / 353.6 MB, free: 5.875 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2916, allocations: 0 / 353.6 MB, free: 5.875 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.2921, allocations: 147.7 kB / 353.8 MB, free: 5.73 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.000236/0.2923, allocations: 139.2 kB / 353.9 MB, free: 5.582 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.2935, allocations: 0.6169 MB / 354.5 MB, free: 4.953 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2935, allocations: 0 / 354.5 MB, free: 4.953 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.2941, allocations: 388.9 kB / 354.9 MB, free: 4.562 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.2945, allocations: 48.59 kB / 355 MB, free: 4.516 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.296, allocations: 1.077 MB / 356 MB, free: 3.398 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.2964, allocations: 0.8171 MB / 356.8 MB, free: 2.559 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.2966, allocations: 55.25 kB / 356.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/0.2967, allocations: 35.42 kB / 356.9 MB, free: 2.473 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2967, allocations: 4 kB / 356.9 MB, free: 2.469 MB / 286.1 MB Notification: Performance of Templates: time 0.008027/0.3048, allocations: 4.391 MB / 361.3 MB, free: 14.07 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)