Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001286, allocations: 99.86 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.001506/0.001506, allocations: 177.3 kB / 15.95 MB, free: 216 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.486/1.486, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004653/0.0004654, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 47.57 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004672/0.2565, allocations: 3.717 MB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.2601, allocations: 1.627 MB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005585/0.2607, allocations: 21.72 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006229/0.2613, allocations: 205.4 kB / 332 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.263, allocations: 0.5506 MB / 332.6 MB, free: 12.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.2635, allocations: 168.7 kB / 332.7 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002045/0.2655, allocations: 1.188 MB / 333.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.2668, allocations: 0.8605 MB / 334.8 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009596/0.2677, allocations: 0.5488 MB / 335.3 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009789/0.2687, allocations: 0.7082 MB / 336 MB, free: 9.895 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.2689, allocations: 84 kB / 336.1 MB, free: 9.812 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006647/0.2696, allocations: 187.9 kB / 336.3 MB, free: 9.629 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.2699, allocations: 394.8 kB / 336.7 MB, free: 9.242 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.2703, allocations: 328.9 kB / 337 MB, free: 8.914 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.2725, allocations: 2.019 MB / 339 MB, free: 6.891 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2725, allocations: 0 / 339 MB, free: 6.891 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.2725, allocations: 3.938 kB / 339 MB, free: 6.887 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.386e-05/0.2726, allocations: 0 / 339 MB, free: 6.887 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004864/0.2775, allocations: 1.926 MB / 341 MB, free: 4.906 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.2775, allocations: 8.031 kB / 341 MB, free: 4.898 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.2797, allocations: 377.6 kB / 341.3 MB, free: 4.527 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.2818, allocations: 1.005 MB / 342.3 MB, free: 3.477 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.846e-05/0.2819, allocations: 98.67 kB / 342.4 MB, free: 3.379 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.2822, allocations: 132 kB / 342.6 MB, free: 3.25 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.2854, allocations: 1.874 MB / 344.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.2854, allocations: 0 / 344.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.2856, allocations: 59.94 kB / 344.5 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/0.2856, allocations: 45.94 kB / 344.5 MB, free: 1.242 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.2885, allocations: 1.703 MB / 346.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009122/0.2977, allocations: 5.634 MB / 351.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/0.3006, allocations: 2.909 MB / 354.8 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002507/0.3032, allocations: 1.541 MB / 356.3 MB, free: 4.719 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3032, allocations: 38.55 kB / 356.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.3032, allocations: 0 / 356.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.00301/0.3062, allocations: 1.439 MB / 357.8 MB, free: 3.203 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3063, allocations: 89 kB / 357.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.3076, allocations: 1.009 MB / 358.9 MB, free: 2.078 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.3077, allocations: 37.7 kB / 358.9 MB, free: 2.035 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.3082, allocations: 0.6852 MB / 359.6 MB, free: 1.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.3084, allocations: 189.3 kB / 359.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.3084, allocations: 12 kB / 359.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3086, allocations: 334 kB / 360.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/0.3091, allocations: 369 kB / 360.5 MB, free: 456 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007162/0.3099, allocations: 0.5254 MB / 361 MB, free: 15.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006709/0.3106, allocations: 445.2 kB / 361.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3106, allocations: 0 / 361.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001625/0.3122, allocations: 1.021 MB / 362.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3122, allocations: 12.39 kB / 362.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3123, allocations: 8 kB / 362.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3123, allocations: 8 kB / 362.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.313, allocations: 195.7 kB / 362.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.313, allocations: 8 kB / 362.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.3136, allocations: 95.23 kB / 362.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.3136, allocations: 28 kB / 362.8 MB, free: 14.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.0008377/0.3145, allocations: 0.5257 MB / 363.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3146, allocations: 86.97 kB / 363.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.3159, allocations: 0.7018 MB / 364.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3159, allocations: 15.88 kB / 364.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.3159, allocations: 4 kB / 364.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3159, allocations: 3.984 kB / 364.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.3184, allocations: 1.668 MB / 365.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3185, allocations: 0 / 365.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.3189, allocations: 108 kB / 365.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004041/0.3193, allocations: 150.9 kB / 366.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.3194, allocations: 19.98 kB / 366.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00283/0.3222, allocations: 2.651 MB / 368.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3222, allocations: 0 / 368.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.3245, allocations: 1.557 MB / 370.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.3248, allocations: 191.9 kB / 370.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3249, allocations: 19.92 kB / 370.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.3254, allocations: 71.94 kB / 370.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.3255, allocations: 55.81 kB / 370.6 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.3256, allocations: 19.98 kB / 370.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008971/0.3265, allocations: 0.7254 MB / 371.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3265, allocations: 0 / 371.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009991/0.3275, allocations: 358.4 kB / 371.7 MB, free: 4.836 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000243/0.3277, allocations: 131.2 kB / 371.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.329, allocations: 0.7958 MB / 372.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3291, allocations: 0 / 372.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.3301, allocations: 0.5983 MB / 373.3 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/0.3309, allocations: 167.5 kB / 373.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.3352, allocations: 3.323 MB / 376.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.3363, allocations: 1.526 MB / 378.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006613/0.337, allocations: 230.7 kB / 378.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3371, allocations: 63.42 kB / 378.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3371, allocations: 0 / 378.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of Templates: time 0.01884/0.356, allocations: 10.65 MB / 389.2 MB, free: 3.234 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) Environment - environmentSimulation: