Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009655/0.0009654, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007491/0.007491, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.381/1.381, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0006585/0.0006585, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.235, allocations: 47.58 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002835/0.2378, allocations: 2.891 MB / 329.9 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.2399, allocations: 1.303 MB / 331.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.2401, allocations: 7.062 kB / 331.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.2404, allocations: 124.9 kB / 331.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007685/0.2412, allocations: 338.4 kB / 331.7 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.2417, allocations: 233.6 kB / 331.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.2422, allocations: 425.7 kB / 332.3 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.2424, allocations: 122.3 kB / 332.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.2426, allocations: 139.6 kB / 332.6 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2429, allocations: 186.3 kB / 332.8 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.2429, allocations: 18.69 kB / 332.8 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.2432, allocations: 145 kB / 332.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.2432, allocations: 62.27 kB / 333 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.2434, allocations: 202.5 kB / 333.2 MB, free: 12.78 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.244, allocations: 0.4998 MB / 333.7 MB, free: 12.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.244, allocations: 0 / 333.7 MB, free: 12.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.244, allocations: 3.984 kB / 333.7 MB, free: 12.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.244, allocations: 1.031 kB / 333.7 MB, free: 12.42 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.001275/0.2453, allocations: 0.6802 MB / 334.4 MB, free: 11.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2453, allocations: 9.531 kB / 334.4 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005945/0.2459, allocations: 96.92 kB / 334.5 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.2463, allocations: 308.5 kB / 334.8 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.2463, allocations: 27.22 kB / 334.8 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.2464, allocations: 33.53 kB / 334.8 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.247, allocations: 365.6 kB / 335.2 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.247, allocations: 0 / 335.2 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.2471, allocations: 16 kB / 335.2 MB, free: 11.06 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2471, allocations: 8 kB / 335.2 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.2476, allocations: 254.1 kB / 335.5 MB, free: 10.81 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.2495, allocations: 1.339 MB / 336.8 MB, free: 9.371 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.2498, allocations: 193.1 kB / 337 MB, free: 9.164 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.25, allocations: 93.67 kB / 337.1 MB, free: 9.066 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007491/0.2508, allocations: 0.8674 MB / 338 MB, free: 8.098 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2508, allocations: 46.5 kB / 338 MB, free: 8.043 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.2508, allocations: 0 / 338 MB, free: 8.043 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005315/0.2514, allocations: 229.5 kB / 338.2 MB, free: 7.812 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.2514, allocations: 81.05 kB / 338.3 MB, free: 7.715 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.2517, allocations: 291 kB / 338.6 MB, free: 7.426 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.2517, allocations: 29.7 kB / 338.6 MB, free: 7.391 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.2519, allocations: 243.4 kB / 338.9 MB, free: 7.148 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.2519, allocations: 63.09 kB / 338.9 MB, free: 7.086 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.252, allocations: 29.7 kB / 338.9 MB, free: 7.051 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2521, allocations: 338.8 kB / 339.3 MB, free: 6.711 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.2522, allocations: 72.62 kB / 339.3 MB, free: 6.637 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.2525, allocations: 206.3 kB / 339.5 MB, free: 6.375 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.2529, allocations: 308.9 kB / 339.8 MB, free: 6.012 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.2529, allocations: 4 kB / 339.8 MB, free: 6.008 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005177/0.2534, allocations: 317.3 kB / 340.2 MB, free: 5.691 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2534, allocations: 8 kB / 340.2 MB, free: 5.684 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2534, allocations: 8 kB / 340.2 MB, free: 5.676 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2535, allocations: 11.98 kB / 340.2 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.2537, allocations: 83.83 kB / 340.3 MB, free: 5.582 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2538, allocations: 7.938 kB / 340.3 MB, free: 5.574 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.254, allocations: 43.86 kB / 340.3 MB, free: 5.531 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.254, allocations: 16 kB / 340.3 MB, free: 5.516 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.2542, allocations: 157.7 kB / 340.5 MB, free: 5.352 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.2542, allocations: 31.62 kB / 340.5 MB, free: 5.32 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.2543, allocations: 25.73 kB / 340.5 MB, free: 5.293 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2543, allocations: 7.938 kB / 340.6 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2543, allocations: 0 / 340.6 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2543, allocations: 4 kB / 340.6 MB, free: 5.281 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.255, allocations: 0.5147 MB / 341.1 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.255, allocations: 0 / 341.1 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.2552, allocations: 51.84 kB / 341.1 MB, free: 4.656 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2552, allocations: 0 / 341.1 MB, free: 4.656 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.2552, allocations: 12.03 kB / 341.1 MB, free: 4.645 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2552, allocations: 0 / 341.1 MB, free: 4.645 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2553, allocations: 4 kB / 341.1 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.2558, allocations: 423.2 kB / 341.6 MB, free: 4.207 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.2559, allocations: 108.8 kB / 341.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.2559, allocations: 0 / 341.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.2561, allocations: 16 kB / 341.7 MB, free: 4.066 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.2562, allocations: 23.97 kB / 341.7 MB, free: 4.043 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.2562, allocations: 8 kB / 341.7 MB, free: 4.035 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.2564, allocations: 197.9 kB / 341.9 MB, free: 3.84 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2564, allocations: 0 / 341.9 MB, free: 3.84 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004266/0.2568, allocations: 83.69 kB / 342 MB, free: 3.758 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001391/0.257, allocations: 107.2 kB / 342.1 MB, free: 3.645 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.2573, allocations: 192.5 kB / 342.3 MB, free: 3.457 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.2574, allocations: 4.375 kB / 342.3 MB, free: 3.453 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.2575, allocations: 79.84 kB / 342.4 MB, free: 3.375 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.258, allocations: 36.81 kB / 342.4 MB, free: 3.34 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.2591, allocations: 0.8488 MB / 343.2 MB, free: 2.461 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2594, allocations: 0.7718 MB / 344 MB, free: 1.664 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.2595, allocations: 34.95 kB / 344 MB, free: 1.629 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.2596, allocations: 19.44 kB / 344.1 MB, free: 1.609 MB / 270.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2596, allocations: 0 / 344.1 MB, free: 1.609 MB / 270.1 MB Notification: Performance of Templates: time 0.005274/0.2649, allocations: 2.164 MB / 346.2 MB, free: 15.45 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)