Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001042/0.001042, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.001201/0.001201, allocations: 178.5 kB / 17.21 MB, free: 5.578 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.476/1.476, allocations: 205.4 MB / 223.4 MB, free: 5.465 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.0004691/0.0004692, allocations: 16 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2622, allocations: 47.58 MB / 327.7 MB, free: 1.641 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003201/0.2654, allocations: 2.754 MB / 330.5 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.268, allocations: 1.221 MB / 331.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.2682, allocations: 6.469 kB / 331.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.2686, allocations: 110.1 kB / 331.8 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007226/0.2694, allocations: 289.3 kB / 332.1 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.2698, allocations: 210.7 kB / 332.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.2703, allocations: 410 kB / 332.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.2706, allocations: 111.5 kB / 332.8 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.2708, allocations: 144 kB / 333 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.2711, allocations: 181.2 kB / 333.1 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-05/0.2712, allocations: 18.78 kB / 333.2 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.2715, allocations: 128.6 kB / 333.3 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.2715, allocations: 66.44 kB / 333.3 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.526e-05/0.2716, allocations: 94.14 kB / 333.4 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.2721, allocations: 397.7 kB / 333.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2722, allocations: 0 / 333.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2722, allocations: 0 / 333.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2722, allocations: 0 / 333.8 MB, free: 13.09 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.001534/0.2737, allocations: 0.685 MB / 334.5 MB, free: 12.51 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2738, allocations: 9 kB / 334.5 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005664/0.2743, allocations: 99.09 kB / 334.6 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.2749, allocations: 291.6 kB / 334.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.2749, allocations: 31.42 kB / 334.9 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.275, allocations: 40.89 kB / 335 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.2757, allocations: 349.8 kB / 335.3 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2757, allocations: 0 / 335.3 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.2758, allocations: 19.44 kB / 335.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2758, allocations: 8.844 kB / 335.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.2763, allocations: 256.2 kB / 335.6 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.2784, allocations: 1.339 MB / 336.9 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.2788, allocations: 193.1 kB / 337.1 MB, free: 10.02 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.2789, allocations: 97.62 kB / 337.2 MB, free: 9.922 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.28, allocations: 0.8713 MB / 338.1 MB, free: 8.949 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2801, allocations: 30.56 kB / 338.1 MB, free: 8.91 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 2.364e-06/0.2801, allocations: 4 kB / 338.1 MB, free: 8.906 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006103/0.2807, allocations: 229.3 kB / 338.3 MB, free: 8.676 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2808, allocations: 85.09 kB / 338.4 MB, free: 8.574 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.2811, allocations: 279 kB / 338.7 MB, free: 8.297 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2811, allocations: 33.7 kB / 338.7 MB, free: 8.258 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.2813, allocations: 235.4 kB / 339 MB, free: 8.023 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.2813, allocations: 67.03 kB / 339 MB, free: 7.957 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.2813, allocations: 8 kB / 339 MB, free: 7.949 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2815, allocations: 338.8 kB / 339.4 MB, free: 7.609 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2817, allocations: 68.62 kB / 339.4 MB, free: 7.539 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.2819, allocations: 210.4 kB / 339.6 MB, free: 7.273 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.2821, allocations: 99.91 kB / 339.7 MB, free: 7.176 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2821, allocations: 0 / 339.7 MB, free: 7.176 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000714/0.2829, allocations: 321.4 kB / 340 MB, free: 6.855 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.2829, allocations: 8.031 kB / 340.1 MB, free: 6.848 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.2829, allocations: 4 kB / 340.1 MB, free: 6.844 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/0.283, allocations: 8 kB / 340.1 MB, free: 6.836 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.2834, allocations: 79.91 kB / 340.1 MB, free: 6.758 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-05/0.2835, allocations: 15.92 kB / 340.2 MB, free: 6.742 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.2838, allocations: 39.55 kB / 340.2 MB, free: 6.703 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.2839, allocations: 20 kB / 340.2 MB, free: 6.684 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.0002163/0.2841, allocations: 157.7 kB / 340.4 MB, free: 6.52 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.2842, allocations: 27.7 kB / 340.4 MB, free: 6.492 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.139e-05/0.2843, allocations: 29.75 kB / 340.4 MB, free: 6.461 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2843, allocations: 0 / 340.4 MB, free: 6.461 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.2844, allocations: 7.984 kB / 340.4 MB, free: 6.453 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.2844, allocations: 0 / 340.4 MB, free: 6.453 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.2855, allocations: 0.5185 MB / 341 MB, free: 5.875 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2855, allocations: 0 / 341 MB, free: 5.875 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.2858, allocations: 48.22 kB / 341 MB, free: 5.828 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.2859, allocations: 4 kB / 341 MB, free: 5.824 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2859, allocations: 4 kB / 341 MB, free: 5.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.2859, allocations: 8 kB / 341 MB, free: 5.812 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2859, allocations: 3.953 kB / 341 MB, free: 5.809 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.2867, allocations: 431.2 kB / 341.4 MB, free: 5.367 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.2868, allocations: 104.8 kB / 341.5 MB, free: 5.246 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.2869, allocations: 0 / 341.5 MB, free: 5.246 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.2872, allocations: 19.98 kB / 341.6 MB, free: 5.227 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.2873, allocations: 15.94 kB / 341.6 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2873, allocations: 8 kB / 341.6 MB, free: 5.203 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002893/0.2876, allocations: 190 kB / 341.8 MB, free: 5.02 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2876, allocations: 4.062 kB / 341.8 MB, free: 5.016 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000747/0.2884, allocations: 87.69 kB / 341.9 MB, free: 4.93 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.0002377/0.2886, allocations: 111.2 kB / 342 MB, free: 4.812 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006092/0.2893, allocations: 191.7 kB / 342.2 MB, free: 4.625 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2893, allocations: 0 / 342.2 MB, free: 4.625 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.2895, allocations: 73.03 kB / 342.2 MB, free: 4.555 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.2902, allocations: 32.95 kB / 342.3 MB, free: 4.523 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.292, allocations: 0.8213 MB / 343.1 MB, free: 3.672 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.2925, allocations: 0.7718 MB / 343.9 MB, free: 2.875 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000217/0.2928, allocations: 34.95 kB / 343.9 MB, free: 2.84 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.272e-05/0.2929, allocations: 23.44 kB / 343.9 MB, free: 2.816 MB / 270.1 MB Notification: Performance of SimCode: time 3e-07/0.2929, allocations: 0 / 343.9 MB, free: 2.816 MB / 270.1 MB Notification: Performance of Templates: time 0.008675/0.3015, allocations: 2.113 MB / 346 MB, free: 0.707 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)