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.001112/0.001112, 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.001117/0.001117, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.001177/0.001177, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1934, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004389/0.1979, allocations: 3.748 MB / 329.1 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.2003, allocations: 1.462 MB / 330.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.2005, allocations: 8.5 kB / 330.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.2022, allocations: 0.7533 MB / 331.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.2034, allocations: 0.5728 MB / 331.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.2042, allocations: 421.1 kB / 332.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.2046, allocations: 494.8 kB / 332.8 MB, free: 12.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000676/0.2053, allocations: 458.8 kB / 333.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.2056, allocations: 231.8 kB / 333.4 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.206, allocations: 292.1 kB / 333.7 MB, free: 11.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.784e-05/0.206, allocations: 44 kB / 333.8 MB, free: 11.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.2064, allocations: 219.8 kB / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.781e-05/0.2065, allocations: 115.6 kB / 334.1 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.2068, allocations: 246.7 kB / 334.3 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007308/0.2075, allocations: 0.7048 MB / 335 MB, free: 10.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2075, allocations: 0 / 335 MB, free: 10.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2075, allocations: 4 kB / 335 MB, free: 10.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.2075, allocations: 0 / 335 MB, free: 10.16 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.00208/0.2096, allocations: 0.9443 MB / 336 MB, free: 9.168 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2097, allocations: 15.89 kB / 336 MB, free: 9.152 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004316/0.214, allocations: 0.5818 MB / 336.6 MB, free: 8.57 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.2144, allocations: 319.6 kB / 336.9 MB, free: 8.219 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.2144, allocations: 41.69 kB / 336.9 MB, free: 8.176 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.905e-05/0.2145, allocations: 64.22 kB / 337 MB, free: 8.113 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009717/0.2155, allocations: 0.5726 MB / 337.6 MB, free: 7.539 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2155, allocations: 0 / 337.6 MB, free: 7.539 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/0.2156, allocations: 24 kB / 337.6 MB, free: 7.516 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.2156, allocations: 16 kB / 337.6 MB, free: 7.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2167, allocations: 0.6415 MB / 338.2 MB, free: 6.855 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.2198, allocations: 2.071 MB / 340.3 MB, free: 4.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.2223, allocations: 2.988 MB / 343.3 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.2228, allocations: 278 kB / 343.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.75e-05/0.2229, allocations: 85.55 kB / 343.7 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2229, allocations: 39 kB / 343.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 1.804e-06/0.2229, allocations: 4 kB / 343.7 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001722/0.2246, allocations: 0.7427 MB / 344.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.2247, allocations: 63.78 kB / 344.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2249, allocations: 208.7 kB / 344.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.2249, allocations: 37.7 kB / 344.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.2251, allocations: 240.1 kB / 345 MB, free: 15.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.2252, allocations: 165.5 kB / 345.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.2253, allocations: 98.16 kB / 345.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2254, allocations: 338.8 kB / 345.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.2258, allocations: 161 kB / 345.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.2262, allocations: 279.7 kB / 346 MB, free: 14.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.2269, allocations: 478.2 kB / 346.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2269, allocations: 4 kB / 346.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001084/0.228, allocations: 0.5903 MB / 347.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.228, allocations: 8 kB / 347.1 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.228, allocations: 4 kB / 347.1 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/0.2284, allocations: 76.81 kB / 347.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.2288, allocations: 115.8 kB / 347.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.2306, allocations: 1.774 MB / 349 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.2309, allocations: 59.42 kB / 349.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.2309, allocations: 24.06 kB / 349.1 MB, free: 10.93 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.0001868/0.2311, allocations: 165.7 kB / 349.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.2312, allocations: 35.64 kB / 349.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.2323, allocations: 0.555 MB / 349.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2323, allocations: 4 kB / 349.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2323, allocations: 4 kB / 349.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2324, allocations: 7.984 kB / 349.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.2341, allocations: 1.177 MB / 351.1 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2341, allocations: 4 kB / 351.1 MB, free: 8.898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.2345, allocations: 75.89 kB / 351.1 MB, free: 8.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.2348, allocations: 84.86 kB / 351.2 MB, free: 8.738 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.2348, allocations: 8 kB / 351.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.2364, allocations: 1.766 MB / 353 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2365, allocations: 0 / 353 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.2378, allocations: 0.8258 MB / 353.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.2379, allocations: 120.6 kB / 353.9 MB, free: 5.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.2379, allocations: 7.984 kB / 353.9 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.2382, allocations: 20 kB / 354 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.2383, allocations: 36.38 kB / 354 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.2383, allocations: 16 kB / 354 MB, free: 5.762 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.2384, allocations: 147.2 kB / 354.2 MB, free: 5.617 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2384, allocations: 0 / 354.2 MB, free: 5.617 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000506/0.2389, allocations: 155.7 kB / 354.3 MB, free: 5.465 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.0002195/0.2392, allocations: 131.2 kB / 354.4 MB, free: 5.324 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.2404, allocations: 0.6173 MB / 355.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2404, allocations: 0 / 355.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.241, allocations: 389 kB / 355.4 MB, free: 4.305 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.2414, allocations: 35.92 kB / 355.5 MB, free: 4.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2429, allocations: 0.8702 MB / 356.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.2433, allocations: 0.821 MB / 357.2 MB, free: 2.516 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.2435, allocations: 55.27 kB / 357.2 MB, free: 2.465 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.2436, allocations: 35.42 kB / 357.3 MB, free: 2.43 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2436, allocations: 0 / 357.3 MB, free: 2.43 MB / 286.1 MB Notification: Performance of Templates: time 0.008563/0.2522, allocations: 4.43 MB / 361.7 MB, free: 13.99 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)