Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001132/0.001132, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001172/0.001172, allocations: 191.2 kB / 16.25 MB, free: 6.637 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.282/1.282, 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.001227/0.001228, allocations: 51.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2156, allocations: 46.62 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004781/0.2204, allocations: 3.771 MB / 328.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.2234, allocations: 1.45 MB / 330.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.2237, allocations: 9.375 kB / 330.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.2254, allocations: 0.7071 MB / 330.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.2268, allocations: 0.5132 MB / 331.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008349/0.2276, allocations: 387.3 kB / 331.7 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.2282, allocations: 481.9 kB / 332.1 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007032/0.2289, allocations: 437.7 kB / 332.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003597/0.2293, allocations: 220.8 kB / 332.8 MB, free: 11.94 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.2296, allocations: 277.5 kB / 333.1 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.2297, allocations: 42.88 kB / 333.1 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.2302, allocations: 213.9 kB / 333.3 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.2303, allocations: 115.5 kB / 333.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.2305, allocations: 242.8 kB / 333.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007639/0.2313, allocations: 0.6969 MB / 334.4 MB, free: 10.56 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2313, allocations: 4 kB / 334.4 MB, free: 10.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2313, allocations: 0 / 334.4 MB, free: 10.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.026e-06/0.2313, allocations: 0 / 334.4 MB, free: 10.55 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.002043/0.2333, allocations: 0.9286 MB / 335.3 MB, free: 9.578 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2334, allocations: 12.03 kB / 335.3 MB, free: 9.566 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004176/0.2376, allocations: 0.5857 MB / 335.9 MB, free: 8.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.238, allocations: 311.6 kB / 336.2 MB, free: 8.637 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.2381, allocations: 41.69 kB / 336.2 MB, free: 8.594 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.2382, allocations: 64.28 kB / 336.3 MB, free: 8.531 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009657/0.2391, allocations: 0.5686 MB / 336.9 MB, free: 7.957 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.2392, allocations: 0 / 336.9 MB, free: 7.957 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.2392, allocations: 20 kB / 336.9 MB, free: 7.938 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.2392, allocations: 16 kB / 336.9 MB, free: 7.922 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2404, allocations: 0.6298 MB / 337.5 MB, free: 7.293 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.2434, allocations: 2.046 MB / 339.6 MB, free: 5.105 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/0.2462, allocations: 3.008 MB / 342.6 MB, free: 1.535 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.2467, allocations: 218.1 kB / 342.8 MB, free: 1.32 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.657e-05/0.2468, allocations: 89.53 kB / 342.9 MB, free: 1.215 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2468, allocations: 39 kB / 342.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.675e-06/0.2468, allocations: 0 / 342.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001879/0.2487, allocations: 0.8049 MB / 343.7 MB, free: 340 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.2488, allocations: 55.84 kB / 343.8 MB, free: 272 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.2489, allocations: 202.2 kB / 344 MB, free: 64 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.249, allocations: 33.7 kB / 344 MB, free: 24 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.2491, allocations: 252 kB / 344.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.2492, allocations: 161.7 kB / 344.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.2494, allocations: 98.14 kB / 344.5 MB, free: 15.51 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2495, allocations: 338.8 kB / 344.8 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.2498, allocations: 157 kB / 345 MB, free: 15.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.2502, allocations: 277.9 kB / 345.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006505/0.2509, allocations: 464.5 kB / 345.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2509, allocations: 0 / 345.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001013/0.2519, allocations: 0.5784 MB / 346.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.2519, allocations: 11.94 kB / 346.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.252, allocations: 0 / 346.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003678/0.2523, allocations: 101 kB / 346.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.2528, allocations: 103.8 kB / 346.5 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.2548, allocations: 2.053 MB / 348.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.2551, allocations: 55.42 kB / 348.6 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.2551, allocations: 23.94 kB / 348.6 MB, free: 11.14 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.0002283/0.2554, allocations: 165.8 kB / 348.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.2554, allocations: 31.78 kB / 348.8 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.2565, allocations: 0.5549 MB / 349.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2565, allocations: 4 kB / 349.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2565, allocations: 4 kB / 349.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2566, allocations: 7.969 kB / 349.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.2582, allocations: 1.138 MB / 350.5 MB, free: 9.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2582, allocations: 4 kB / 350.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.2586, allocations: 79.89 kB / 350.6 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/0.2588, allocations: 84.81 kB / 350.7 MB, free: 8.984 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.2589, allocations: 15.98 kB / 350.7 MB, free: 8.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.2606, allocations: 2.038 MB / 352.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2606, allocations: 0 / 352.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.2619, allocations: 0.8115 MB / 353.6 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.262, allocations: 104.7 kB / 353.7 MB, free: 5.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.262, allocations: 12 kB / 353.7 MB, free: 5.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.2622, allocations: 19.98 kB / 353.7 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.2623, allocations: 36.45 kB / 353.7 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.2624, allocations: 16 kB / 353.8 MB, free: 5.758 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.2625, allocations: 150.9 kB / 353.9 MB, free: 5.609 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2625, allocations: 0 / 353.9 MB, free: 5.609 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006009/0.2631, allocations: 155.5 kB / 354.1 MB, free: 5.457 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.0002254/0.2634, allocations: 135.2 kB / 354.2 MB, free: 5.312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.2645, allocations: 0.6165 MB / 354.8 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2645, allocations: 0 / 354.8 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.2651, allocations: 389.8 kB / 355.2 MB, free: 4.289 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.2655, allocations: 36 kB / 355.2 MB, free: 4.254 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.2671, allocations: 1.056 MB / 356.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.2675, allocations: 0.821 MB / 357.1 MB, free: 2.324 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.2677, allocations: 47.27 kB / 357.1 MB, free: 2.281 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-05/0.2678, allocations: 39.42 kB / 357.2 MB, free: 2.242 MB / 286.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2678, allocations: 4 kB / 357.2 MB, free: 2.238 MB / 286.1 MB Notification: Performance of Templates: time 0.008595/0.2764, allocations: 4.387 MB / 361.6 MB, free: 13.85 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)