Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001521/0.001521, 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.001579/0.001579, allocations: 193.5 kB / 16.26 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.48/1.48, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.00179/0.00179, allocations: 51.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2926, allocations: 46.63 MB / 324.9 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.006256/0.2989, allocations: 3.762 MB / 328.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.3029, allocations: 1.448 MB / 330.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.3033, allocations: 8.906 kB / 330.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.3054, allocations: 0.7072 MB / 330.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.3071, allocations: 0.513 MB / 331.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000988/0.3081, allocations: 396.9 kB / 331.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006952/0.3088, allocations: 494.9 kB / 332.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009058/0.3098, allocations: 0.5023 MB / 332.7 MB, free: 12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004667/0.3102, allocations: 228 kB / 332.9 MB, free: 11.87 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.3106, allocations: 298 kB / 333.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.345e-05/0.3107, allocations: 47.06 kB / 333.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.3112, allocations: 209.3 kB / 333.4 MB, free: 11.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.3113, allocations: 115.6 kB / 333.5 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.3115, allocations: 258.7 kB / 333.8 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008472/0.3123, allocations: 0.7048 MB / 334.5 MB, free: 10.41 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3124, allocations: 0 / 334.5 MB, free: 10.41 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3124, allocations: 0 / 334.5 MB, free: 10.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.3124, allocations: 0 / 334.5 MB, free: 10.41 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.002176/0.3146, allocations: 0.9404 MB / 335.4 MB, free: 9.422 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3146, allocations: 11.89 kB / 335.5 MB, free: 9.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004156/0.3188, allocations: 0.5857 MB / 336 MB, free: 8.824 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.3196, allocations: 319.6 kB / 336.3 MB, free: 8.473 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.3196, allocations: 41.69 kB / 336.4 MB, free: 8.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3198, allocations: 64.22 kB / 336.5 MB, free: 8.367 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.3209, allocations: 0.5686 MB / 337 MB, free: 7.793 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.321, allocations: 4 kB / 337 MB, free: 7.789 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/0.321, allocations: 28 kB / 337.1 MB, free: 7.762 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.3211, allocations: 12 kB / 337.1 MB, free: 7.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.3222, allocations: 0.6415 MB / 337.7 MB, free: 7.109 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.3256, allocations: 2.067 MB / 339.8 MB, free: 4.918 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.3281, allocations: 2.988 MB / 342.8 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004337/0.3286, allocations: 270.1 kB / 343 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.639e-05/0.3287, allocations: 93.53 kB / 343.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3287, allocations: 38.94 kB / 343.2 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.294e-06/0.3287, allocations: 3.938 kB / 343.2 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001666/0.3304, allocations: 0.7544 MB / 343.9 MB, free: 156 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.3305, allocations: 59.78 kB / 344 MB, free: 84 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3307, allocations: 204.7 kB / 344.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.3307, allocations: 33.7 kB / 344.2 MB, free: 15.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3308, allocations: 240.1 kB / 344.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.331, allocations: 173.5 kB / 344.6 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.3311, allocations: 94.16 kB / 344.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3312, allocations: 334.8 kB / 345 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.3316, allocations: 161 kB / 345.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.3319, allocations: 291.6 kB / 345.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.3327, allocations: 478.2 kB / 345.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3327, allocations: 0 / 345.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001048/0.3337, allocations: 0.5822 MB / 346.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3337, allocations: 4.469 kB / 346.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3338, allocations: 11.98 kB / 346.5 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/0.3341, allocations: 80.75 kB / 346.6 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.3346, allocations: 107.9 kB / 346.7 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.3364, allocations: 1.785 MB / 348.5 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.3368, allocations: 55.42 kB / 348.6 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.3368, allocations: 20 kB / 348.6 MB, free: 11.18 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.0002248/0.337, allocations: 177.8 kB / 348.7 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.3371, allocations: 27.66 kB / 348.8 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.3383, allocations: 0.555 MB / 349.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3383, allocations: 8 kB / 349.3 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3383, allocations: 0 / 349.3 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3383, allocations: 3.984 kB / 349.3 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.3401, allocations: 1.17 MB / 350.5 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.3402, allocations: 8 kB / 350.5 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.3405, allocations: 91.77 kB / 350.6 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.3408, allocations: 72.81 kB / 350.7 MB, free: 8.992 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.3408, allocations: 15.98 kB / 350.7 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.3426, allocations: 1.762 MB / 352.5 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3426, allocations: 8.016 kB / 352.5 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.3439, allocations: 0.8141 MB / 353.3 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.344, allocations: 112.5 kB / 353.4 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.3441, allocations: 15.94 kB / 353.4 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.3443, allocations: 20.05 kB / 353.4 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3444, allocations: 44.36 kB / 353.5 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.3445, allocations: 16 kB / 353.5 MB, free: 6.008 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.3446, allocations: 151.2 kB / 353.6 MB, free: 5.859 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3446, allocations: 0 / 353.6 MB, free: 5.859 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005978/0.3452, allocations: 147.7 kB / 353.8 MB, free: 5.715 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.0002768/0.3455, allocations: 139.1 kB / 353.9 MB, free: 5.566 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.3468, allocations: 0.6204 MB / 354.5 MB, free: 4.934 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3468, allocations: 0 / 354.5 MB, free: 4.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.3474, allocations: 390.1 kB / 354.9 MB, free: 4.543 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.3479, allocations: 39.92 kB / 355 MB, free: 4.504 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3495, allocations: 1.077 MB / 356 MB, free: 3.387 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3499, allocations: 0.821 MB / 356.9 MB, free: 2.543 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.3501, allocations: 55.27 kB / 356.9 MB, free: 2.492 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/0.3502, allocations: 31.42 kB / 356.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3502, allocations: 0 / 356.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of Templates: time 0.008656/0.3589, allocations: 4.391 MB / 361.3 MB, free: 14.07 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1)