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.001113/0.001113, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.001366/0.001366, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005183/0.0005184, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2929, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003618/0.2965, allocations: 3.015 MB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.2988, allocations: 1.358 MB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.299, allocations: 9.719 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.2994, allocations: 127.6 kB / 331 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.3005, allocations: 488.2 kB / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.3013, allocations: 345.5 kB / 331.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000495/0.3018, allocations: 334.3 kB / 332.1 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.303, allocations: 0.6293 MB / 332.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.3033, allocations: 185.2 kB / 332.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.3036, allocations: 231.4 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.3037, allocations: 21.59 kB / 333.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.3041, allocations: 159.3 kB / 333.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.3042, allocations: 83.44 kB / 333.4 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.3043, allocations: 104.2 kB / 333.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.3049, allocations: 0.5145 MB / 334 MB, free: 11.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3049, allocations: 0 / 334 MB, free: 11.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3049, allocations: 0 / 334 MB, free: 11.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3049, allocations: 0 / 334 MB, free: 11.77 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.001943/0.3068, allocations: 0.8457 MB / 334.9 MB, free: 11.01 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3069, allocations: 8.031 kB / 334.9 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003959/0.3109, allocations: 0.5925 MB / 335.5 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.3113, allocations: 314.3 kB / 335.8 MB, free: 10.06 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.3113, allocations: 41.31 kB / 335.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.387e-05/0.3114, allocations: 59.94 kB / 335.9 MB, free: 9.965 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009634/0.3124, allocations: 0.5531 MB / 336.4 MB, free: 9.402 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.3124, allocations: 3.906 kB / 336.4 MB, free: 9.398 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.3125, allocations: 24 kB / 336.4 MB, free: 9.375 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3125, allocations: 16 kB / 336.5 MB, free: 9.359 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.3136, allocations: 0.6415 MB / 337.1 MB, free: 8.719 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.3164, allocations: 2.05 MB / 339.2 MB, free: 6.531 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.3189, allocations: 3.009 MB / 342.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/0.319, allocations: 85.55 kB / 342.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.319, allocations: 35 kB / 342.3 MB, free: 2.816 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.926e-06/0.319, allocations: 4 kB / 342.3 MB, free: 2.812 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001855/0.3209, allocations: 0.8055 MB / 343.1 MB, free: 1.977 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.321, allocations: 59.84 kB / 343.1 MB, free: 1.906 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3212, allocations: 205.6 kB / 343.4 MB, free: 1.699 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.3212, allocations: 29.7 kB / 343.4 MB, free: 1.664 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.3213, allocations: 240.1 kB / 343.6 MB, free: 1.426 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3215, allocations: 169.5 kB / 343.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.3215, allocations: 8 kB / 343.8 MB, free: 1.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3216, allocations: 342.8 kB / 344.1 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.3219, allocations: 165 kB / 344.3 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.3223, allocations: 273.9 kB / 344.6 MB, free: 444 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.3227, allocations: 204.8 kB / 344.8 MB, free: 240 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3227, allocations: 0 / 344.8 MB, free: 240 kB / 270.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009949/0.3237, allocations: 0.586 MB / 345.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3237, allocations: 8 kB / 345.3 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3238, allocations: 4.375 kB / 345.3 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003342/0.3241, allocations: 100.7 kB / 345.4 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.3245, allocations: 103.9 kB / 345.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.3264, allocations: 1.878 MB / 347.4 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.3267, allocations: 55.44 kB / 347.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.3268, allocations: 20 kB / 347.5 MB, free: 13.34 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.0002192/0.327, allocations: 181.6 kB / 347.7 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.327, allocations: 23.72 kB / 347.7 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.3281, allocations: 0.559 MB / 348.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3281, allocations: 8 kB / 348.3 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3281, allocations: 3.953 kB / 348.3 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3281, allocations: 0 / 348.3 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.3297, allocations: 1.169 MB / 349.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3297, allocations: 0 / 349.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.33, allocations: 79.91 kB / 349.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/0.3303, allocations: 84.8 kB / 349.6 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.3303, allocations: 16 kB / 349.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.3321, allocations: 1.859 MB / 351.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3322, allocations: 0 / 351.5 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.3335, allocations: 0.8116 MB / 352.3 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.3336, allocations: 112.6 kB / 352.4 MB, free: 8.188 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.3336, allocations: 12 kB / 352.4 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.3339, allocations: 23.98 kB / 352.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.334, allocations: 40.66 kB / 352.5 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.334, allocations: 12 kB / 352.5 MB, free: 8.102 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.3341, allocations: 148.1 kB / 352.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3341, allocations: 7.875 kB / 352.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006368/0.3348, allocations: 159.7 kB / 352.8 MB, free: 7.793 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.0002875/0.3351, allocations: 139.1 kB / 352.9 MB, free: 7.648 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.3363, allocations: 0.5933 MB / 353.5 MB, free: 7.039 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3363, allocations: 0 / 353.5 MB, free: 7.039 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005808/0.3369, allocations: 389.8 kB / 353.9 MB, free: 6.648 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3372, allocations: 24.17 kB / 353.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3387, allocations: 1.046 MB / 355 MB, free: 5.547 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.3392, allocations: 0.8292 MB / 355.8 MB, free: 4.695 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.3394, allocations: 51.27 kB / 355.8 MB, free: 4.648 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.3395, allocations: 31.42 kB / 355.9 MB, free: 4.617 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3395, allocations: 0 / 355.9 MB, free: 4.617 MB / 286.1 MB Notification: Performance of Templates: time 0.008291/0.3478, allocations: 3.988 MB / 359.9 MB, free: 0.625 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: