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.001158/0.001158, allocations: 93.83 kB / 16.3 MB, free: 5.992 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.001186/0.001186, allocations: 183.1 kB / 17.19 MB, free: 5.906 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.617/1.617, allocations: 205.4 MB / 223.4 MB, free: 5.543 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.000452/0.0004521, allocations: 8 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2703, allocations: 47.58 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003275/0.2736, allocations: 2.602 MB / 330.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.2758, allocations: 1.226 MB / 331.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.2761, allocations: 11.19 kB / 331.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.2764, allocations: 113.9 kB / 331.7 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008816/0.2773, allocations: 312.1 kB / 332 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.2778, allocations: 209.1 kB / 332.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.2784, allocations: 310.5 kB / 332.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.2786, allocations: 120.1 kB / 332.6 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.2789, allocations: 133.4 kB / 332.7 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.2792, allocations: 166 kB / 332.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.2792, allocations: 18.91 kB / 332.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.2795, allocations: 125 kB / 333 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.2796, allocations: 62.34 kB / 333.1 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.963e-05/0.2797, allocations: 89.83 kB / 333.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.2802, allocations: 397.6 kB / 333.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2802, allocations: 0 / 333.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2802, allocations: 4 kB / 333.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2802, allocations: 1.75 kB / 333.6 MB, free: 13.07 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.001458/0.2817, allocations: 0.6827 MB / 334.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2817, allocations: 8.781 kB / 334.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006333/0.2824, allocations: 92.75 kB / 334.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.2829, allocations: 302.2 kB / 334.6 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.2829, allocations: 26.73 kB / 334.7 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.283, allocations: 34.47 kB / 334.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.2836, allocations: 350.7 kB / 335 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2836, allocations: 3.938 kB / 335 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.2837, allocations: 15.19 kB / 335.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2837, allocations: 8.469 kB / 335.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/0.2842, allocations: 251.1 kB / 335.3 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.2863, allocations: 1.334 MB / 336.6 MB, free: 10.37 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.2867, allocations: 201.1 kB / 336.8 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000826/0.2876, allocations: 0.8674 MB / 337.7 MB, free: 9.188 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.2876, allocations: 34.56 kB / 337.7 MB, free: 9.145 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.894e-06/0.2876, allocations: 4 kB / 337.7 MB, free: 9.141 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005487/0.2882, allocations: 233.3 kB / 338 MB, free: 8.906 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2882, allocations: 77.11 kB / 338 MB, free: 8.812 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.2885, allocations: 286.9 kB / 338.3 MB, free: 8.527 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.2886, allocations: 33.7 kB / 338.4 MB, free: 8.488 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.2887, allocations: 235.4 kB / 338.6 MB, free: 8.254 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.2888, allocations: 63.09 kB / 338.7 MB, free: 8.191 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.2888, allocations: 8 kB / 338.7 MB, free: 8.184 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.289, allocations: 338.8 kB / 339 MB, free: 7.844 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.2891, allocations: 68.62 kB / 339.1 MB, free: 7.773 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.2894, allocations: 206.4 kB / 339.3 MB, free: 7.512 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.2896, allocations: 103.9 kB / 339.4 MB, free: 7.41 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-06/0.2896, allocations: 3.938 kB / 339.4 MB, free: 7.406 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005333/0.2901, allocations: 321.4 kB / 339.7 MB, free: 7.086 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2902, allocations: 12.03 kB / 339.7 MB, free: 7.074 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2902, allocations: 4 kB / 339.7 MB, free: 7.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2902, allocations: 8 kB / 339.7 MB, free: 7.062 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.2905, allocations: 75.89 kB / 339.8 MB, free: 6.988 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.2905, allocations: 11.94 kB / 339.8 MB, free: 6.977 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.2907, allocations: 43.8 kB / 339.8 MB, free: 6.934 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.2908, allocations: 16 kB / 339.8 MB, free: 6.918 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.0001684/0.2909, allocations: 161.7 kB / 340 MB, free: 6.75 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.291, allocations: 23.72 kB / 340 MB, free: 6.727 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.2911, allocations: 37.67 kB / 340.1 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2911, allocations: 4 kB / 340.1 MB, free: 6.684 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2911, allocations: 0 / 340.1 MB, free: 6.684 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2911, allocations: 0 / 340.1 MB, free: 6.684 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/0.2918, allocations: 0.5147 MB / 340.6 MB, free: 6.109 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2918, allocations: 3.938 kB / 340.6 MB, free: 6.105 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.292, allocations: 43.97 kB / 340.6 MB, free: 6.062 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2921, allocations: 3.938 kB / 340.6 MB, free: 6.059 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.2921, allocations: 8 kB / 340.6 MB, free: 6.051 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2921, allocations: 0 / 340.6 MB, free: 6.051 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2921, allocations: 3.953 kB / 340.6 MB, free: 6.047 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005834/0.2927, allocations: 458.7 kB / 341.1 MB, free: 5.566 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.2928, allocations: 104.8 kB / 341.2 MB, free: 5.445 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.2928, allocations: 8 kB / 341.2 MB, free: 5.438 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.2931, allocations: 19.98 kB / 341.2 MB, free: 5.418 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.2931, allocations: 7.984 kB / 341.2 MB, free: 5.41 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2932, allocations: 4.062 kB / 341.2 MB, free: 5.406 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.2934, allocations: 202 kB / 341.4 MB, free: 5.211 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2934, allocations: 0 / 341.4 MB, free: 5.211 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000476/0.2939, allocations: 83.69 kB / 341.5 MB, free: 5.129 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.000206/0.2941, allocations: 115.2 kB / 341.6 MB, free: 5.008 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.2945, allocations: 192.8 kB / 341.8 MB, free: 4.82 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2945, allocations: 0 / 341.8 MB, free: 4.82 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.2947, allocations: 76.03 kB / 341.9 MB, free: 4.746 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.295, allocations: 29.33 kB / 341.9 MB, free: 4.719 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2962, allocations: 0.8214 MB / 342.7 MB, free: 3.867 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2966, allocations: 0.7796 MB / 343.5 MB, free: 3.062 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.2967, allocations: 34.95 kB / 343.6 MB, free: 3.027 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.2968, allocations: 23.44 kB / 343.6 MB, free: 3.004 MB / 270.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2968, allocations: 0 / 343.6 MB, free: 3.004 MB / 270.1 MB Notification: Performance of Templates: time 0.0053/0.3021, allocations: 2.113 MB / 345.7 MB, free: 0.8945 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: