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.0008651/0.0008655, allocations: 91.84 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.0009721/0.0009721, allocations: 172.7 kB / 15.95 MB, free: 208 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.441/1.441, allocations: 205.4 MB / 222.1 MB, free: 5.363 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.0007746/0.0007747, allocations: 16 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2374, allocations: 47.58 MB / 326.5 MB, free: 1.473 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002946/0.2404, allocations: 2.756 MB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.2427, allocations: 1.225 MB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.2429, allocations: 7.25 kB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.2433, allocations: 101.3 kB / 330.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007555/0.244, allocations: 297.3 kB / 330.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.2445, allocations: 194.9 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.2451, allocations: 410 kB / 331.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.2453, allocations: 123.6 kB / 331.6 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.2455, allocations: 139.7 kB / 331.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.2458, allocations: 173.5 kB / 331.9 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.2458, allocations: 19.62 kB / 331.9 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.2461, allocations: 135.8 kB / 332 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.2462, allocations: 54.14 kB / 332.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.573e-05/0.2463, allocations: 98.92 kB / 332.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.2467, allocations: 400.8 kB / 332.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2467, allocations: 0 / 332.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2467, allocations: 0 / 332.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2468, allocations: 0.9062 kB / 332.6 MB, free: 12.93 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.001314/0.2481, allocations: 0.6844 MB / 333.2 MB, free: 12.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.2481, allocations: 9.188 kB / 333.3 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/0.2487, allocations: 95.16 kB / 333.3 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.2491, allocations: 299.7 kB / 333.6 MB, free: 12.01 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.2492, allocations: 34.33 kB / 333.7 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.2492, allocations: 38.34 kB / 333.7 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.2498, allocations: 353 kB / 334.1 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2499, allocations: 0 / 334.1 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.2499, allocations: 15.78 kB / 334.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2499, allocations: 8.375 kB / 334.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.2504, allocations: 256.9 kB / 334.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.2523, allocations: 1.327 MB / 335.7 MB, free: 10.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.2527, allocations: 201.1 kB / 335.9 MB, free: 9.859 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.2528, allocations: 89.64 kB / 335.9 MB, free: 9.766 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007261/0.2536, allocations: 0.8752 MB / 336.8 MB, free: 8.789 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2536, allocations: 34.55 kB / 336.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 2.515e-06/0.2536, allocations: 3.984 kB / 336.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005203/0.2541, allocations: 233.3 kB / 337.1 MB, free: 8.508 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.2542, allocations: 77.11 kB / 337.2 MB, free: 8.414 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.2545, allocations: 287 kB / 337.4 MB, free: 8.129 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.2545, allocations: 29.7 kB / 337.5 MB, free: 8.094 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2547, allocations: 235.4 kB / 337.7 MB, free: 7.859 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.2547, allocations: 67.11 kB / 337.8 MB, free: 7.793 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.2547, allocations: 8 kB / 337.8 MB, free: 7.785 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2549, allocations: 338.8 kB / 338.1 MB, free: 7.445 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.255, allocations: 72.61 kB / 338.2 MB, free: 7.371 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.2553, allocations: 202.3 kB / 338.4 MB, free: 7.113 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.2555, allocations: 103.9 kB / 338.5 MB, free: 7.012 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2555, allocations: 0 / 338.5 MB, free: 7.012 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005015/0.256, allocations: 313.2 kB / 338.8 MB, free: 6.699 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.256, allocations: 11.94 kB / 338.8 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.256, allocations: 4 kB / 338.8 MB, free: 6.684 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.256, allocations: 12.5 kB / 338.8 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.2563, allocations: 91.89 kB / 338.9 MB, free: 6.582 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2563, allocations: 8 kB / 338.9 MB, free: 6.574 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.2565, allocations: 47.47 kB / 338.9 MB, free: 6.527 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2566, allocations: 16 kB / 339 MB, free: 6.512 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.0001344/0.2567, allocations: 153.7 kB / 339.1 MB, free: 6.352 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.2568, allocations: 23.72 kB / 339.1 MB, free: 6.328 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.2568, allocations: 33.73 kB / 339.2 MB, free: 6.293 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.2568, allocations: 0 / 339.2 MB, free: 6.293 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2568, allocations: 0 / 339.2 MB, free: 6.293 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2569, allocations: 7.938 kB / 339.2 MB, free: 6.285 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.2575, allocations: 0.5185 MB / 339.7 MB, free: 5.707 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.2575, allocations: 0 / 339.7 MB, free: 5.707 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.2577, allocations: 47.95 kB / 339.7 MB, free: 5.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2577, allocations: 7.984 kB / 339.8 MB, free: 5.652 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.2578, allocations: 0 / 339.8 MB, free: 5.652 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2578, allocations: 4 kB / 339.8 MB, free: 5.648 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2578, allocations: 3.953 kB / 339.8 MB, free: 5.645 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.2583, allocations: 427.2 kB / 340.2 MB, free: 5.207 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.2584, allocations: 96.86 kB / 340.3 MB, free: 5.094 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.2584, allocations: 7.984 kB / 340.3 MB, free: 5.086 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2586, allocations: 20.06 kB / 340.3 MB, free: 5.066 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.2587, allocations: 19.88 kB / 340.3 MB, free: 5.047 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.2587, allocations: 7.984 kB / 340.3 MB, free: 5.039 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.2589, allocations: 194 kB / 340.5 MB, free: 4.852 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2589, allocations: 0 / 340.5 MB, free: 4.852 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004032/0.2593, allocations: 87.69 kB / 340.6 MB, free: 4.766 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.0001264/0.2594, allocations: 111.2 kB / 340.7 MB, free: 4.648 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.2598, allocations: 195.9 kB / 340.9 MB, free: 4.457 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2598, allocations: 0 / 340.9 MB, free: 4.457 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.2599, allocations: 71.97 kB / 341 MB, free: 4.387 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.2603, allocations: 29.81 kB / 341 MB, free: 4.359 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.2614, allocations: 0.8181 MB / 341.8 MB, free: 3.512 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.2617, allocations: 0.7718 MB / 342.6 MB, free: 2.715 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.2618, allocations: 42.89 kB / 342.6 MB, free: 2.672 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.2619, allocations: 23.44 kB / 342.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2619, allocations: 0 / 342.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of Templates: time 0.004968/0.2669, allocations: 2.112 MB / 344.8 MB, free: 0.5391 MB / 270.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)