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.0009706/0.0009703, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009546/0.0009546, allocations: 177.3 kB / 15.94 MB, free: 228 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.497/1.497, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0006885/0.0006887, allocations: 11.98 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2741, allocations: 47.59 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003256/0.2774, allocations: 2.601 MB / 329.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.2795, allocations: 1.233 MB / 330.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.2797, allocations: 7.25 kB / 330.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.2801, allocations: 105.6 kB / 330.4 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007865/0.2809, allocations: 317.1 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.2813, allocations: 201.6 kB / 330.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.2818, allocations: 306 kB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.2821, allocations: 123.4 kB / 331.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.2823, allocations: 138.4 kB / 331.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.2825, allocations: 165.3 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.2826, allocations: 19.44 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.2829, allocations: 124.1 kB / 331.8 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.2829, allocations: 66.83 kB / 331.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.283, allocations: 89.86 kB / 331.9 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.2834, allocations: 401.6 kB / 332.3 MB, free: 13.06 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2835, allocations: 0 / 332.3 MB, free: 13.06 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2835, allocations: 0 / 332.3 MB, free: 13.06 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.2835, allocations: 1.438 kB / 332.3 MB, free: 13.06 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.001342/0.2848, allocations: 0.6791 MB / 333 MB, free: 12.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2849, allocations: 9 kB / 333 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005788/0.2855, allocations: 95.84 kB / 333.1 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.2859, allocations: 295.1 kB / 333.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.2859, allocations: 34.17 kB / 333.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.286, allocations: 30.31 kB / 333.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.2866, allocations: 354.7 kB / 333.8 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2866, allocations: 1.031 kB / 333.8 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.2867, allocations: 11.41 kB / 333.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.2867, allocations: 7.594 kB / 333.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.2873, allocations: 255.9 kB / 334.1 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.2893, allocations: 1.331 MB / 335.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.2897, allocations: 205.1 kB / 335.6 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007774/0.2905, allocations: 0.8752 MB / 336.5 MB, free: 9.137 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.2905, allocations: 42.5 kB / 336.5 MB, free: 9.086 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.2905, allocations: 0 / 336.5 MB, free: 9.086 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005456/0.2911, allocations: 225.4 kB / 336.7 MB, free: 8.859 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.2912, allocations: 85.05 kB / 336.8 MB, free: 8.758 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.2914, allocations: 283 kB / 337.1 MB, free: 8.477 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2915, allocations: 29.7 kB / 337.1 MB, free: 8.441 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.2916, allocations: 235.4 kB / 337.3 MB, free: 8.207 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.2917, allocations: 59.11 kB / 337.4 MB, free: 8.148 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.2917, allocations: 8 kB / 337.4 MB, free: 8.141 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2918, allocations: 334.8 kB / 337.7 MB, free: 7.805 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.292, allocations: 76.61 kB / 337.8 MB, free: 7.727 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.2922, allocations: 206.4 kB / 338 MB, free: 7.465 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2924, allocations: 111.9 kB / 338.1 MB, free: 7.355 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2924, allocations: 0 / 338.1 MB, free: 7.355 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004771/0.2929, allocations: 317.2 kB / 338.4 MB, free: 7.039 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2929, allocations: 8 kB / 338.4 MB, free: 7.031 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2929, allocations: 4 kB / 338.4 MB, free: 7.027 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.2929, allocations: 8 kB / 338.4 MB, free: 7.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.2932, allocations: 83.83 kB / 338.5 MB, free: 6.938 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.2932, allocations: 8.25 kB / 338.5 MB, free: 6.93 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2934, allocations: 51.53 kB / 338.6 MB, free: 6.879 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.2934, allocations: 12.25 kB / 338.6 MB, free: 6.867 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.0001348/0.2936, allocations: 161.7 kB / 338.8 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.2936, allocations: 23.72 kB / 338.8 MB, free: 6.676 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.2937, allocations: 33.67 kB / 338.8 MB, free: 6.641 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2937, allocations: 0 / 338.8 MB, free: 6.641 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2937, allocations: 4 kB / 338.8 MB, free: 6.637 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2937, allocations: 15.97 kB / 338.8 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.2944, allocations: 0.5107 MB / 339.3 MB, free: 6.051 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2944, allocations: 0 / 339.3 MB, free: 6.051 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.2946, allocations: 47.97 kB / 339.4 MB, free: 6.004 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2946, allocations: 8.031 kB / 339.4 MB, free: 5.996 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.2946, allocations: 3.938 kB / 339.4 MB, free: 5.992 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2946, allocations: 4 kB / 339.4 MB, free: 5.988 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2946, allocations: 3.953 kB / 339.4 MB, free: 5.984 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.2952, allocations: 450.6 kB / 339.8 MB, free: 5.512 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.2953, allocations: 108.8 kB / 340 MB, free: 5.387 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.2953, allocations: 0 / 340 MB, free: 5.387 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.2955, allocations: 24.05 kB / 340 MB, free: 5.363 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.2956, allocations: 11.98 kB / 340 MB, free: 5.352 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2956, allocations: 4 kB / 340 MB, free: 5.348 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.2958, allocations: 194 kB / 340.2 MB, free: 5.16 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2958, allocations: 0 / 340.2 MB, free: 5.16 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.2962, allocations: 87.69 kB / 340.3 MB, free: 5.074 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.0001417/0.2963, allocations: 111.2 kB / 340.4 MB, free: 4.957 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.2967, allocations: 188.2 kB / 340.6 MB, free: 4.773 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2967, allocations: 0 / 340.6 MB, free: 4.773 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.2969, allocations: 79.83 kB / 340.6 MB, free: 4.695 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.2972, allocations: 24.89 kB / 340.7 MB, free: 4.672 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2982, allocations: 0.822 MB / 341.5 MB, free: 3.82 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.2986, allocations: 0.7796 MB / 342.3 MB, free: 3.016 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.2987, allocations: 34.95 kB / 342.3 MB, free: 2.98 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.2988, allocations: 27.44 kB / 342.3 MB, free: 2.953 MB / 270.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2988, allocations: 0 / 342.3 MB, free: 2.953 MB / 270.1 MB Notification: Performance of Templates: time 0.005024/0.3038, allocations: 2.097 MB / 344.4 MB, free: 0.8594 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: