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.001475/0.001475, allocations: 98.11 kB / 16.5 MB, free: 6.688 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.001694/0.001694, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.318/1.318, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.001221/0.001221, allocations: 52.31 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08208/0.08331, allocations: 46.63 MB / 326 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003994/0.08735, allocations: 3.27 MB / 329.2 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.08926, allocations: 1.336 MB / 330.6 MB, free: 228 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.08945, allocations: 11.94 kB / 330.6 MB, free: 216 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.08989, allocations: 123.5 kB / 330.7 MB, free: 92 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007816/0.09068, allocations: 326.5 kB / 331 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.09115, allocations: 247.2 kB / 331.3 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004776/0.09163, allocations: 430.1 kB / 331.7 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.09183, allocations: 120.6 kB / 331.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.092, allocations: 159.3 kB / 332 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.09223, allocations: 187.2 kB / 332.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.09229, allocations: 24 kB / 332.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.09256, allocations: 151.8 kB / 332.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.09264, allocations: 75.64 kB / 332.4 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.09279, allocations: 183 kB / 332.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.0933, allocations: 0.5181 MB / 333.1 MB, free: 13.7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.09331, allocations: 0 / 333.1 MB, free: 13.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09332, allocations: 3.938 kB / 333.1 MB, free: 13.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.09333, allocations: 0 / 333.1 MB, free: 13.7 MB / 286.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.001363/0.0947, allocations: 0.741 MB / 333.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.09475, allocations: 12.03 kB / 333.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006284/0.09538, allocations: 96.41 kB / 333.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.09574, allocations: 308.4 kB / 334.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.09577, allocations: 25.38 kB / 334.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.09584, allocations: 36.38 kB / 334.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.09642, allocations: 353.6 kB / 334.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.09645, allocations: 0 / 334.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.09649, allocations: 19.94 kB / 334.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.0965, allocations: 8 kB / 334.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.09698, allocations: 250.1 kB / 334.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.09892, allocations: 1.327 MB / 336.2 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.0993, allocations: 189.2 kB / 336.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.09947, allocations: 93.61 kB / 336.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007536/0.1002, allocations: 0.8675 MB / 337.4 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1003, allocations: 34.56 kB / 337.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.1003, allocations: 0 / 337.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005765/0.1009, allocations: 217.2 kB / 337.6 MB, free: 8.812 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1009, allocations: 85.05 kB / 337.7 MB, free: 8.711 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.1012, allocations: 286.9 kB / 338 MB, free: 8.426 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1012, allocations: 29.7 kB / 338 MB, free: 8.391 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.1014, allocations: 243.5 kB / 338.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.1015, allocations: 63.09 kB / 338.3 MB, free: 8.086 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.1016, allocations: 58.03 kB / 338.4 MB, free: 8.023 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1017, allocations: 342.8 kB / 338.7 MB, free: 7.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1018, allocations: 68.61 kB / 338.8 MB, free: 7.613 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.1021, allocations: 198.4 kB / 339 MB, free: 7.359 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.1025, allocations: 297.1 kB / 339.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1025, allocations: 0 / 339.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005232/0.103, allocations: 324.8 kB / 339.6 MB, free: 6.684 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.103, allocations: 4 kB / 339.6 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.103, allocations: 8 kB / 339.6 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1031, allocations: 4.562 kB / 339.6 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.1034, allocations: 91.77 kB / 339.7 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1034, allocations: 7.938 kB / 339.7 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.1036, allocations: 31.69 kB / 339.7 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.1036, allocations: 20 kB / 339.7 MB, free: 6.52 MB / 286.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.0001524/0.1038, allocations: 157.7 kB / 339.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.649e-05/0.1039, allocations: 23.72 kB / 339.9 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.1039, allocations: 29.73 kB / 339.9 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.1039, allocations: 7.938 kB / 340 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1039, allocations: 4 kB / 340 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.104, allocations: 3.984 kB / 340 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006427/0.1046, allocations: 0.503 MB / 340.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1046, allocations: 4 kB / 340.5 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.1048, allocations: 43.91 kB / 340.5 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1049, allocations: 32 / 340.5 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1049, allocations: 12 kB / 340.5 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1049, allocations: 0 / 340.5 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.1049, allocations: 4 kB / 340.5 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.1054, allocations: 418.5 kB / 340.9 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.1055, allocations: 116.8 kB / 341.1 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1056, allocations: 0 / 341.1 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.1058, allocations: 23.92 kB / 341.1 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1058, allocations: 7.984 kB / 341.1 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1059, allocations: 8 kB / 341.1 MB, free: 5.062 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.106, allocations: 194 kB / 341.3 MB, free: 4.871 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.106, allocations: 0 / 341.3 MB, free: 4.871 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.1065, allocations: 83.75 kB / 341.4 MB, free: 4.789 MB / 286.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.0001391/0.1066, allocations: 119.2 kB / 341.5 MB, free: 4.664 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.107, allocations: 188 kB / 341.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.107, allocations: 0 / 341.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1072, allocations: 72.28 kB / 341.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.1077, allocations: 40.72 kB / 341.8 MB, free: 4.371 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1088, allocations: 0.7826 MB / 342.6 MB, free: 3.562 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1092, allocations: 0.7718 MB / 343.3 MB, free: 2.766 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1093, allocations: 30.97 kB / 343.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.1094, allocations: 23.44 kB / 343.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1094, allocations: 0 / 343.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of Templates: time 0.005573/0.115, allocations: 2.18 MB / 345.6 MB, free: 0.5352 MB / 286.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)