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.005841/0.005841, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001321/0.001321, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.001127/0.001127, allocations: 55.91 kB / 326.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08381/0.08495, allocations: 46.61 MB / 373.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004422/0.08943, allocations: 3.243 MB / 376.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1835/0.273, allocations: 1.346 MB / 377.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.2736, allocations: 8.375 kB / 377.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.2743, allocations: 141.7 kB / 377.9 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.2755, allocations: 356.2 kB / 378.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.2761, allocations: 262.4 kB / 378.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.2767, allocations: 455.3 kB / 378.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.2769, allocations: 153.5 kB / 379.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.2771, allocations: 160.8 kB / 379.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.2774, allocations: 207.2 kB / 379.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.2775, allocations: 34.03 kB / 379.5 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.2779, allocations: 153.2 kB / 379.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.352e-05/0.278, allocations: 84.88 kB / 379.7 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.2782, allocations: 198.8 kB / 379.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.279, allocations: 0.5308 MB / 380.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.279, allocations: 3.438 kB / 380.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.279, allocations: 0 / 380.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.279, allocations: 4.312 kB / 380.4 MB, free: 9.426 MB / 318.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.001483/0.2805, allocations: 0.7368 MB / 381.2 MB, free: 8.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2806, allocations: 12.52 kB / 381.2 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006142/0.2812, allocations: 95.45 kB / 381.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.2817, allocations: 320.3 kB / 381.6 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2817, allocations: 26.03 kB / 381.6 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.2818, allocations: 35.78 kB / 381.7 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.2825, allocations: 350.2 kB / 382 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2825, allocations: 3.938 kB / 382 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.2826, allocations: 13.59 kB / 382 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2826, allocations: 11.72 kB / 382 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.2831, allocations: 247.3 kB / 382.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.2852, allocations: 1.306 MB / 383.6 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.2856, allocations: 197.9 kB / 383.8 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.2858, allocations: 88.38 kB / 383.9 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.2864, allocations: 0.8666 MB / 384.7 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2865, allocations: 37.19 kB / 384.8 MB, free: 6.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.2865, allocations: 6 kB / 384.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005474/0.287, allocations: 215.5 kB / 385 MB, free: 6.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2871, allocations: 83.36 kB / 385.1 MB, free: 6.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.2874, allocations: 289.5 kB / 385.3 MB, free: 6.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.2874, allocations: 26.45 kB / 385.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2875, allocations: 239.8 kB / 385.6 MB, free: 6.141 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.2876, allocations: 60.41 kB / 385.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.2877, allocations: 70.95 kB / 385.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.2877, allocations: 333.1 kB / 386 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.2879, allocations: 67.28 kB / 386.1 MB, free: 5.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.2881, allocations: 203.1 kB / 386.3 MB, free: 5.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.2885, allocations: 295.9 kB / 386.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2885, allocations: 5.438 kB / 386.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005489/0.289, allocations: 315.5 kB / 386.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.2891, allocations: 8.016 kB / 386.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2891, allocations: 5.344 kB / 386.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.2891, allocations: 6.469 kB / 386.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.2894, allocations: 75.14 kB / 387 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.2894, allocations: 15 kB / 387 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.2896, allocations: 39.47 kB / 387.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.2897, allocations: 16.38 kB / 387.1 MB, free: 5.074 MB / 318.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.0001487/0.2898, allocations: 159.8 kB / 387.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.2899, allocations: 25.31 kB / 387.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.29, allocations: 28.52 kB / 387.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.29, allocations: 2.125 kB / 387.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.29, allocations: 5 kB / 387.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.29, allocations: 2.219 kB / 387.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.2907, allocations: 0.5195 MB / 387.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2907, allocations: 0 / 387.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.2909, allocations: 45.27 kB / 387.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.2909, allocations: 7.016 kB / 387.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.2909, allocations: 6.406 kB / 387.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2909, allocations: 1.812 kB / 387.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2909, allocations: 3.938 kB / 387.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.2914, allocations: 425.2 kB / 388.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.2915, allocations: 104.2 kB / 388.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.2915, allocations: 5.188 kB / 388.4 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.2917, allocations: 11.36 kB / 388.4 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.2918, allocations: 17.94 kB / 388.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.2918, allocations: 5.625 kB / 388.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001832/0.292, allocations: 198.8 kB / 388.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.292, allocations: 0 / 388.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.2925, allocations: 81.06 kB / 388.7 MB, free: 3.926 MB / 318.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.0001341/0.2926, allocations: 113.7 kB / 388.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004328/0.2931, allocations: 184.4 kB / 389 MB, free: 3.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2931, allocations: 1.125 kB / 389 MB, free: 3.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.2932, allocations: 72.05 kB / 389.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.2937, allocations: 40.2 kB / 389.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2947, allocations: 0.6541 MB / 389.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.295, allocations: 0.7757 MB / 390.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.2951, allocations: 34.69 kB / 390.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.2952, allocations: 23 kB / 390.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2952, allocations: 0 / 390.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of Templates: time 0.006231/0.3014, allocations: 2.374 MB / 393 MB, free: 2.371 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (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)