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.001545/0.001545, allocations: 108.6 kB / 17.06 MB, free: 6.008 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.002237/0.002237, allocations: 199.9 kB / 18 MB, free: 5.086 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.372/1.372, allocations: 205.1 MB / 223.9 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.001265/0.001265, allocations: 51.92 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09416, allocations: 46.61 MB / 374.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005125/0.09933, allocations: 3.239 MB / 377.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1977/0.2971, allocations: 1.345 MB / 379.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.2975, allocations: 6.75 kB / 379.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.2981, allocations: 146.2 kB / 379.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009287/0.299, allocations: 358.4 kB / 379.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.2995, allocations: 261.6 kB / 379.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.3, allocations: 452.2 kB / 380.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.3003, allocations: 154.8 kB / 380.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.3005, allocations: 164.1 kB / 380.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.3007, allocations: 205.2 kB / 380.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.3008, allocations: 35.75 kB / 380.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.3012, allocations: 154.4 kB / 380.9 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.3012, allocations: 80.38 kB / 381 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.3014, allocations: 199.1 kB / 381.2 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006845/0.3021, allocations: 0.5355 MB / 381.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3021, allocations: 1.984 kB / 381.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3021, allocations: 0.5 kB / 381.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3022, allocations: 0 / 381.8 MB, free: 9.418 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.001346/0.3035, allocations: 0.7345 MB / 382.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3036, allocations: 17.05 kB / 382.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006089/0.3042, allocations: 94.52 kB / 382.6 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.3046, allocations: 323 kB / 382.9 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.3046, allocations: 24.72 kB / 382.9 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.3047, allocations: 32.59 kB / 383 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.3053, allocations: 354 kB / 383.3 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3053, allocations: 4.969 kB / 383.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.3054, allocations: 14.91 kB / 383.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3054, allocations: 6.906 kB / 383.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.3059, allocations: 248.7 kB / 383.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.3077, allocations: 1.298 MB / 384.9 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.3081, allocations: 204 kB / 385.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.3083, allocations: 84.97 kB / 385.2 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006161/0.3089, allocations: 0.8756 MB / 386 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.3089, allocations: 33.62 kB / 386.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.3089, allocations: 0 / 386.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005362/0.3095, allocations: 221.1 kB / 386.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.3095, allocations: 84.95 kB / 386.4 MB, free: 6.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.3098, allocations: 283.6 kB / 386.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3098, allocations: 36.64 kB / 386.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3099, allocations: 230 kB / 386.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3099, allocations: 68.41 kB / 387 MB, free: 6.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.31, allocations: 62.5 kB / 387 MB, free: 6.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.3101, allocations: 337 kB / 387.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3103, allocations: 67.83 kB / 387.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.3105, allocations: 204.6 kB / 387.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.3108, allocations: 292.6 kB / 387.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3108, allocations: 4.188 kB / 387.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005164/0.3114, allocations: 318 kB / 388.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3114, allocations: 7.812 kB / 388.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3114, allocations: 4.531 kB / 388.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.3114, allocations: 7.547 kB / 388.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.3117, allocations: 79.22 kB / 388.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3117, allocations: 19.78 kB / 388.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.312, allocations: 39.88 kB / 388.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.312, allocations: 16 kB / 388.4 MB, free: 5.062 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.0001134/0.3121, allocations: 152 kB / 388.6 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.3122, allocations: 27.69 kB / 388.6 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.3122, allocations: 29.5 kB / 388.6 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3122, allocations: 2.25 kB / 388.6 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3123, allocations: 5 kB / 388.6 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3123, allocations: 12.86 kB / 388.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.3129, allocations: 0.5057 MB / 389.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3129, allocations: 0 / 389.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.3131, allocations: 46.45 kB / 389.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.3131, allocations: 5.031 kB / 389.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.3132, allocations: 3.125 kB / 389.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3132, allocations: 5.938 kB / 389.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3132, allocations: 2.844 kB / 389.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.3137, allocations: 420.4 kB / 389.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.3137, allocations: 101.6 kB / 389.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.3138, allocations: 10.92 kB / 389.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.314, allocations: 15.98 kB / 389.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.3141, allocations: 10.44 kB / 389.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.3141, allocations: 5.609 kB / 389.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.3143, allocations: 201.7 kB / 389.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3143, allocations: 1.125 kB / 389.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004533/0.3147, allocations: 85.25 kB / 390 MB, free: 3.914 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.000137/0.3149, allocations: 113.2 kB / 390.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.3153, allocations: 190 kB / 390.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3153, allocations: 0 / 390.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.3155, allocations: 70.83 kB / 390.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.3159, allocations: 35.47 kB / 390.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3169, allocations: 0.6591 MB / 391.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.3171, allocations: 0.7716 MB / 391.9 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.3173, allocations: 34.61 kB / 391.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.3173, allocations: 23.92 kB / 391.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3173, allocations: 0 / 391.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of Templates: time 0.006302/0.3236, allocations: 2.413 MB / 394.3 MB, free: 2.344 MB / 318.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)