Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001107/0.001107, allocations: 177.3 kB / 15.95 MB, free: 216 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.484/1.484, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004489/0.0004492, allocations: 14.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2462, allocations: 47.58 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002696/0.2489, allocations: 2.601 MB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.2508, allocations: 1.238 MB / 330.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.251, allocations: 6.125 kB / 330.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.2513, allocations: 109.3 kB / 330.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007215/0.252, allocations: 317.5 kB / 330.7 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.2524, allocations: 200.6 kB / 330.9 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.2529, allocations: 306.5 kB / 331.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.2531, allocations: 119.5 kB / 331.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.2533, allocations: 141.9 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.2536, allocations: 166.2 kB / 331.6 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.2536, allocations: 19.56 kB / 331.6 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.2539, allocations: 127.5 kB / 331.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.2539, allocations: 58.91 kB / 331.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.254, allocations: 94.55 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.2545, allocations: 393.8 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2545, allocations: 0 / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2545, allocations: 0 / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2545, allocations: 0 / 332.3 MB, free: 13.02 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001311/0.2558, allocations: 0.6836 MB / 333 MB, free: 12.44 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2558, allocations: 9.656 kB / 333 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/0.2564, allocations: 95.34 kB / 333.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.2569, allocations: 299.9 kB / 333.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.2569, allocations: 37.95 kB / 333.4 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.257, allocations: 29.81 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.2576, allocations: 355.2 kB / 333.8 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2576, allocations: 0 / 333.8 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.2576, allocations: 11.09 kB / 333.8 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.2577, allocations: 8.312 kB / 333.8 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.2582, allocations: 254.7 kB / 334.1 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.2602, allocations: 1.333 MB / 335.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.2605, allocations: 205.1 kB / 335.6 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007543/0.2613, allocations: 0.8713 MB / 336.5 MB, free: 9.148 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2613, allocations: 30.56 kB / 336.5 MB, free: 9.109 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.2613, allocations: 0 / 336.5 MB, free: 9.109 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005227/0.2619, allocations: 237.3 kB / 336.7 MB, free: 8.871 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2619, allocations: 85.05 kB / 336.8 MB, free: 8.77 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.2622, allocations: 283 kB / 337.1 MB, free: 8.488 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.2622, allocations: 29.7 kB / 337.1 MB, free: 8.453 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.2624, allocations: 231.4 kB / 337.3 MB, free: 8.223 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.2624, allocations: 63.09 kB / 337.4 MB, free: 8.16 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.2625, allocations: 12 kB / 337.4 MB, free: 8.148 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2626, allocations: 334.8 kB / 337.7 MB, free: 7.812 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.2627, allocations: 72.62 kB / 337.8 MB, free: 7.738 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.263, allocations: 206.4 kB / 338 MB, free: 7.477 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.2632, allocations: 103.9 kB / 338.1 MB, free: 7.375 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2632, allocations: 0 / 338.1 MB, free: 7.375 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005193/0.2637, allocations: 317.2 kB / 338.4 MB, free: 7.059 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2637, allocations: 8 kB / 338.4 MB, free: 7.051 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2637, allocations: 4 kB / 338.4 MB, free: 7.047 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2638, allocations: 8 kB / 338.4 MB, free: 7.039 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.2641, allocations: 83.83 kB / 338.5 MB, free: 6.957 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2641, allocations: 8.281 kB / 338.5 MB, free: 6.949 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.2643, allocations: 47.55 kB / 338.6 MB, free: 6.902 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.2643, allocations: 12 kB / 338.6 MB, free: 6.891 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.2645, allocations: 157.7 kB / 338.7 MB, free: 6.727 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.2645, allocations: 31.66 kB / 338.8 MB, free: 6.695 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.2646, allocations: 25.73 kB / 338.8 MB, free: 6.668 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2646, allocations: 4 kB / 338.8 MB, free: 6.664 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2646, allocations: 4.25 kB / 338.8 MB, free: 6.66 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2646, allocations: 0 / 338.8 MB, free: 6.66 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.2653, allocations: 0.5185 MB / 339.3 MB, free: 6.082 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2653, allocations: 0 / 339.3 MB, free: 6.082 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.2655, allocations: 51.95 kB / 339.4 MB, free: 6.031 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2655, allocations: 7.969 kB / 339.4 MB, free: 6.023 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.2656, allocations: 7.938 kB / 339.4 MB, free: 6.016 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2656, allocations: 0 / 339.4 MB, free: 6.016 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.2656, allocations: 7.953 kB / 339.4 MB, free: 6.008 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.2662, allocations: 453.1 kB / 339.8 MB, free: 5.535 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.2663, allocations: 108.8 kB / 340 MB, free: 5.41 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.2663, allocations: 0 / 340 MB, free: 5.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.2665, allocations: 24.05 kB / 340 MB, free: 5.387 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.2666, allocations: 7.984 kB / 340 MB, free: 5.379 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.2666, allocations: 8 kB / 340 MB, free: 5.371 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.2668, allocations: 194 kB / 340.2 MB, free: 5.184 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2668, allocations: 0 / 340.2 MB, free: 5.184 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.2672, allocations: 87.69 kB / 340.3 MB, free: 5.098 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001505/0.2674, allocations: 119.2 kB / 340.4 MB, free: 4.973 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.2678, allocations: 192.3 kB / 340.6 MB, free: 4.785 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2678, allocations: 0 / 340.6 MB, free: 4.785 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.2679, allocations: 75.84 kB / 340.6 MB, free: 4.711 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.2683, allocations: 24.89 kB / 340.7 MB, free: 4.688 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.2694, allocations: 0.8221 MB / 341.5 MB, free: 3.836 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.2697, allocations: 0.7796 MB / 342.3 MB, free: 3.031 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.2699, allocations: 38.94 kB / 342.3 MB, free: 2.992 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.2699, allocations: 23.44 kB / 342.3 MB, free: 2.969 MB / 270.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2699, allocations: 4 kB / 342.3 MB, free: 2.965 MB / 270.1 MB Notification: Performance of Templates: time 0.005268/0.2752, allocations: 2.091 MB / 344.4 MB, free: 0.875 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) Environment - environmentSimulation: