Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009836/0.0009837, allocations: 96.64 kB / 16.3 MB, free: 5.656 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.00099/0.00099, allocations: 183.2 kB / 17.2 MB, free: 5.59 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.574/1.574, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0005726/0.0005729, allocations: 8 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.0925, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004074/0.09662, allocations: 3.726 MB / 331.4 MB, free: 364 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.09964, allocations: 1.622 MB / 333 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.1, allocations: 19.88 kB / 333.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.1005, allocations: 206.9 kB / 333.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.1018, allocations: 0.549 MB / 333.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.1023, allocations: 167.7 kB / 334 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.1039, allocations: 1.181 MB / 335.2 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.1049, allocations: 0.8578 MB / 336 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000925/0.1059, allocations: 0.5566 MB / 336.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008956/0.1068, allocations: 0.7004 MB / 337.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.1069, allocations: 88 kB / 337.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.1074, allocations: 191.9 kB / 337.5 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003633/0.1078, allocations: 394.8 kB / 337.9 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.1081, allocations: 328.9 kB / 338.3 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.1099, allocations: 2.018 MB / 340.3 MB, free: 7.461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1099, allocations: 0 / 340.3 MB, free: 7.461 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1099, allocations: 0 / 340.3 MB, free: 7.461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.64e-05/0.11, allocations: 0 / 340.3 MB, free: 7.461 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004213/0.1142, allocations: 1.93 MB / 342.2 MB, free: 5.477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1142, allocations: 8.031 kB / 342.2 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.116, allocations: 361.7 kB / 342.6 MB, free: 5.113 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.1179, allocations: 1.012 MB / 343.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.118, allocations: 102.7 kB / 343.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.1182, allocations: 135.9 kB / 343.8 MB, free: 3.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.1212, allocations: 1.874 MB / 345.7 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.1213, allocations: 4 kB / 345.7 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.1214, allocations: 55.94 kB / 345.7 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.1215, allocations: 46 kB / 345.8 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.1242, allocations: 1.703 MB / 347.5 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009143/0.1334, allocations: 5.63 MB / 353.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/0.1372, allocations: 2.91 MB / 356 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002711/0.1399, allocations: 1.541 MB / 357.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.14, allocations: 42.55 kB / 357.6 MB, free: 5.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.544e-06/0.14, allocations: 4 kB / 357.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003259/0.1433, allocations: 1.438 MB / 359.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.1434, allocations: 85.11 kB / 359.1 MB, free: 3.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.1447, allocations: 1.02 MB / 360.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.834e-05/0.1448, allocations: 37.7 kB / 360.2 MB, free: 2.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.1453, allocations: 0.6735 MB / 360.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.1455, allocations: 193.3 kB / 361.1 MB, free: 1.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.1455, allocations: 12 kB / 361.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1457, allocations: 334 kB / 361.4 MB, free: 1.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.1463, allocations: 369 kB / 361.8 MB, free: 1.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.1469, allocations: 0.5254 MB / 362.3 MB, free: 428 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.1477, allocations: 449.2 kB / 362.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1478, allocations: 0 / 362.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001673/0.1494, allocations: 1.014 MB / 363.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1495, allocations: 7.953 kB / 363.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1495, allocations: 8 kB / 363.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.1495, allocations: 8 kB / 363.8 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/0.1504, allocations: 199.8 kB / 363.9 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.1504, allocations: 8 kB / 364 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.1509, allocations: 91.23 kB / 364 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.151, allocations: 28 kB / 364.1 MB, free: 14.62 MB / 318.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.0007785/0.1518, allocations: 0.5294 MB / 364.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.152, allocations: 86.97 kB / 364.7 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.1533, allocations: 0.7057 MB / 365.4 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.1533, allocations: 8.281 kB / 365.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1534, allocations: 0 / 365.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1534, allocations: 3.984 kB / 365.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.1558, allocations: 1.672 MB / 367.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1559, allocations: 4 kB / 367.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/0.1563, allocations: 103.9 kB / 367.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/0.1568, allocations: 148.8 kB / 367.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/0.1568, allocations: 19.98 kB / 367.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/0.1599, allocations: 2.661 MB / 370 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1599, allocations: 4.062 kB / 370 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.1624, allocations: 1.549 MB / 371.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/0.1628, allocations: 199.8 kB / 371.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.1629, allocations: 19.98 kB / 371.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.1635, allocations: 67.94 kB / 371.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.1636, allocations: 55.81 kB / 371.9 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.1637, allocations: 19.98 kB / 371.9 MB, free: 6.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001087/0.1648, allocations: 0.7215 MB / 372.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1648, allocations: 0 / 372.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001282/0.1661, allocations: 354.5 kB / 373 MB, free: 5.414 MB / 318.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.0003016/0.1664, allocations: 147.1 kB / 373.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.1679, allocations: 0.7991 MB / 373.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1679, allocations: 4 kB / 373.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.169, allocations: 0.5949 MB / 374.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.1698, allocations: 155.2 kB / 374.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.1755, allocations: 3.327 MB / 378 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.151/0.3266, allocations: 1.524 MB / 379.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007922/0.3274, allocations: 232.5 kB / 379.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.3276, allocations: 57.77 kB / 379.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3276, allocations: 0 / 379.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of Templates: time 0.01966/0.3473, allocations: 10.65 MB / 390.5 MB, free: 48.36 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) Environment - environmentSimulation: