Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009408/0.000941, allocations: 96.91 kB / 16.3 MB, free: 5.996 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.0009039/0.0009039, allocations: 183.2 kB / 17.2 MB, free: 5.914 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.422/1.422, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0004683/0.0004686, allocations: 12 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2738, allocations: 47.58 MB / 327.7 MB, free: 1.641 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004223/0.2781, allocations: 3.02 MB / 330.7 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.2812, allocations: 1.351 MB / 332.1 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004387/0.2817, allocations: 9.469 kB / 332.1 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.2822, allocations: 130.8 kB / 332.2 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.2835, allocations: 489.1 kB / 332.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007728/0.2843, allocations: 353.7 kB / 333 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.2848, allocations: 338.2 kB / 333.4 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.286, allocations: 0.6285 MB / 334 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.2863, allocations: 173.1 kB / 334.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.2866, allocations: 236.5 kB / 334.4 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.2867, allocations: 20.91 kB / 334.4 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.2871, allocations: 159.8 kB / 334.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.647e-05/0.2872, allocations: 83.53 kB / 334.6 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.2873, allocations: 100.1 kB / 334.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.2879, allocations: 0.5179 MB / 335.3 MB, free: 11.99 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2879, allocations: 3.938 kB / 335.3 MB, free: 11.99 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2879, allocations: 0 / 335.3 MB, free: 11.99 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.288, allocations: 0 / 335.3 MB, free: 11.99 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.002096/0.2901, allocations: 0.8422 MB / 336.1 MB, free: 11.17 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2901, allocations: 8.031 kB / 336.1 MB, free: 11.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/0.2942, allocations: 0.5925 MB / 336.7 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.2946, allocations: 314.3 kB / 337 MB, free: 10.22 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.2947, allocations: 45.31 kB / 337.1 MB, free: 10.18 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.2948, allocations: 56 kB / 337.1 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.2958, allocations: 0.5531 MB / 337.7 MB, free: 9.562 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.2959, allocations: 7.906 kB / 337.7 MB, free: 9.555 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.2959, allocations: 27.94 kB / 337.7 MB, free: 9.527 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.2959, allocations: 16 kB / 337.7 MB, free: 9.512 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.297, allocations: 0.6337 MB / 338.4 MB, free: 8.879 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.3, allocations: 2.05 MB / 340.4 MB, free: 6.691 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.3026, allocations: 3.001 MB / 343.4 MB, free: 3.129 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.687e-05/0.3027, allocations: 93.48 kB / 343.5 MB, free: 3.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3028, allocations: 38.98 kB / 343.5 MB, free: 2.973 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 1.763e-06/0.3028, allocations: 3.938 kB / 343.5 MB, free: 2.969 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.00187/0.3047, allocations: 0.8016 MB / 344.3 MB, free: 2.137 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3047, allocations: 59.84 kB / 344.4 MB, free: 2.066 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.3049, allocations: 205.5 kB / 344.6 MB, free: 1.859 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.305, allocations: 37.7 kB / 344.6 MB, free: 1.816 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3051, allocations: 240.1 kB / 344.9 MB, free: 1.578 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.3053, allocations: 161.6 kB / 345 MB, free: 1.418 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.3053, allocations: 8 kB / 345 MB, free: 1.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3054, allocations: 346.8 kB / 345.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.3058, allocations: 161 kB / 345.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.3061, allocations: 273.9 kB / 345.8 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.3065, allocations: 204.8 kB / 346 MB, free: 404 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3065, allocations: 0 / 346 MB, free: 404 kB / 270.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001029/0.3075, allocations: 0.5863 MB / 346.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.3076, allocations: 8 kB / 346.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.3076, allocations: 4 kB / 346.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003523/0.3079, allocations: 96.83 kB / 346.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.3083, allocations: 103.9 kB / 346.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.3103, allocations: 1.878 MB / 348.7 MB, free: 13.58 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.3106, allocations: 55.62 kB / 348.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.3107, allocations: 23.98 kB / 348.7 MB, free: 13.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002327/0.3109, allocations: 173.6 kB / 348.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.311, allocations: 27.72 kB / 348.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.312, allocations: 0.559 MB / 349.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.312, allocations: 8 kB / 349.5 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.312, allocations: 3.953 kB / 349.5 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3121, allocations: 3.984 kB / 349.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.3138, allocations: 1.165 MB / 350.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3138, allocations: 0 / 350.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.3141, allocations: 79.84 kB / 350.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/0.3144, allocations: 88.8 kB / 350.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.3144, allocations: 8 kB / 350.9 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.3164, allocations: 1.87 MB / 352.7 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.3164, allocations: 4.078 kB / 352.7 MB, free: 9.301 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.3178, allocations: 0.8038 MB / 353.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.3179, allocations: 120.6 kB / 353.7 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.318, allocations: 16.06 kB / 353.7 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.3182, allocations: 15.98 kB / 353.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.3183, allocations: 32.39 kB / 353.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.3183, allocations: 16 kB / 353.7 MB, free: 8.262 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.3185, allocations: 148.1 kB / 353.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3185, allocations: 0 / 353.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007036/0.3192, allocations: 159.8 kB / 354 MB, free: 7.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002912/0.3195, allocations: 135.1 kB / 354.2 MB, free: 7.82 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.3207, allocations: 0.6094 MB / 354.8 MB, free: 7.195 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3207, allocations: 0 / 354.8 MB, free: 7.195 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.3214, allocations: 385 kB / 355.1 MB, free: 6.809 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.3217, allocations: 24.38 kB / 355.2 MB, free: 6.785 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.3234, allocations: 1.046 MB / 356.2 MB, free: 5.707 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.3239, allocations: 0.8292 MB / 357 MB, free: 4.855 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002303/0.3241, allocations: 51.27 kB / 357.1 MB, free: 4.809 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.3242, allocations: 35.42 kB / 357.1 MB, free: 4.773 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3242, allocations: 0 / 357.1 MB, free: 4.773 MB / 286.1 MB Notification: Performance of Templates: time 0.009122/0.3333, allocations: 3.988 MB / 361.1 MB, free: 0.7812 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) Environment - environmentSimulation: