Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009851/0.0009852, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.131/1.131, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001556/0.001556, allocations: 115 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002805, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07791/0.07821, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2451/0.3234, allocations: 106.9 MB / 461.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.3237, allocations: 94.5 kB / 462 MB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5084/0.8321, allocations: 182.9 MB / 0.6298 GB, free: 32.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.8321, allocations: 0 / 0.6298 GB, free: 32.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006218/0.8327, allocations: 187.8 kB / 0.6299 GB, free: 32.17 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.0225/0.8553, allocations: 8.356 MB / 0.6381 GB, free: 23.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.8553, allocations: 8.031 kB / 0.6381 GB, free: 23.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009617/0.8649, allocations: 1.836 MB / 0.6399 GB, free: 21.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/0.8805, allocations: 6.994 MB / 0.6467 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000462/0.881, allocations: 0.5901 MB / 0.6473 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/0.8833, allocations: 0.785 MB / 0.6481 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/0.9025, allocations: 10.99 MB / 0.6588 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.9027, allocations: 7.906 kB / 0.6588 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007065/0.9034, allocations: 347.9 kB / 0.6591 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/0.9036, allocations: 368.3 kB / 0.6595 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3197/1.223, allocations: 9.314 MB / 0.6686 GB, free: 37.87 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05633/1.28, allocations: 34.55 MB / 0.7023 GB, free: 32.05 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/1.296, allocations: 19.87 MB / 0.7217 GB, free: 17.32 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/1.308, allocations: 8.003 MB / 0.7296 GB, free: 13.32 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/1.308, allocations: 71.17 kB / 0.7296 GB, free: 13.26 MB / 394.8 MB Notification: Performance of pre-optimization done (n=343): time 5.52e-06/1.308, allocations: 0 / 0.7296 GB, free: 13.26 MB / 394.8 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=377): time 0.03336/1.342, allocations: 17.77 MB / 0.747 GB, free: 5.809 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.342, allocations: 89.19 kB / 0.7471 GB, free: 5.742 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/1.347, allocations: 3.84 MB / 0.7508 GB, free: 4.316 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004947/1.347, allocations: 90.86 kB / 0.7509 GB, free: 4.234 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001898/1.349, allocations: 3.489 MB / 0.7543 GB, free: 1.609 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009467/1.35, allocations: 1.263 MB / 0.7555 GB, free: 0.6328 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/1.351, allocations: 83.78 kB / 0.7556 GB, free: 0.5664 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001581/1.351, allocations: 472.5 kB / 0.7561 GB, free: 192 kB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00464/1.355, allocations: 2.164 MB / 0.7582 GB, free: 0 / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00341/1.359, allocations: 3.016 MB / 0.7611 GB, free: 13.99 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/1.362, allocations: 2.532 MB / 0.7636 GB, free: 12.85 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/1.362, allocations: 10.91 kB / 0.7636 GB, free: 12.85 MB / 410.8 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.009942/1.372, allocations: 6.658 MB / 0.7701 GB, free: 10.25 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/1.372, allocations: 15.16 kB / 0.7701 GB, free: 10.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/1.372, allocations: 30.62 kB / 0.7702 GB, free: 10.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/1.375, allocations: 1.151 MB / 0.7713 GB, free: 9.863 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/1.378, allocations: 0.8409 MB / 0.7721 GB, free: 9.832 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/1.396, allocations: 18.42 MB / 0.7901 GB, free: 11.96 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/1.4, allocations: 191.8 kB / 0.7903 GB, free: 11.89 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006235/1.4, allocations: 169.6 kB / 0.7904 GB, free: 11.86 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 433 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(3,100.0%) 31,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005362/1.406, allocations: 2.625 MB / 0.793 GB, free: 9.879 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.407, allocations: 466.3 kB / 0.7934 GB, free: 9.418 MB / 426.8 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/1.417, allocations: 6.373 MB / 0.7997 GB, free: 4.012 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/1.417, allocations: 36 kB / 0.7997 GB, free: 3.977 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/1.417, allocations: 25.03 kB / 0.7997 GB, free: 3.953 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.788e-05/1.417, allocations: 21.61 kB / 0.7997 GB, free: 3.953 MB / 426.8 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[1] ; aimc3.is[2] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02465/1.442, allocations: 14.36 MB / 0.8138 GB, free: 8.477 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.442, allocations: 4 kB / 0.8138 GB, free: 8.473 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/1.444, allocations: 485.2 kB / 0.8142 GB, free: 8.098 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/1.447, allocations: 1.502 MB / 0.8157 GB, free: 6.875 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002434/1.448, allocations: 95.78 kB / 0.8158 GB, free: 6.789 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2108/1.658, allocations: 25.81 MB / 0.841 GB, free: 70.13 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.658, allocations: 9.016 kB / 0.841 GB, free: 70.13 MB / 442.8 MB Warning: The linear system: 1 : aimc3.is[1] + aimc3.is[2] + aimc3.is[3] = 0.0 2 : 3.0 * aimc3.stator.zeroInductor.i0 = aimc3.is[1] + aimc3.is[2] + aimc3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ aimc3.is[2] ; aimc3.is[1] ] = [ -aimc3.is[3] ; aimc3.is[3] + (-3.0) * aimc3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable aimc3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/1.672, allocations: 9.564 MB / 0.8503 GB, free: 68.72 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002979/1.675, allocations: 1.025 MB / 0.8513 GB, free: 68.63 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000998/1.676, allocations: 90.02 kB / 0.8514 GB, free: 68.62 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.678, allocations: 200.4 kB / 0.8516 GB, free: 68.62 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008236/1.679, allocations: 358.6 kB / 0.852 GB, free: 68.62 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002493/1.679, allocations: 103.4 kB / 0.8521 GB, free: 68.62 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.004011/1.683, allocations: 2.95 MB / 0.8549 GB, free: 68.44 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.4e-07/1.683, allocations: 0 / 0.8549 GB, free: 68.44 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005646/1.689, allocations: 1.544 MB / 0.8565 GB, free: 68.44 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.is[3],aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.stator.zeroInductor.i0,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 232 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(5,72.0%) 29,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 1,(6,72.2%) 46,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009677/1.69, allocations: 488.6 kB / 0.8569 GB, free: 68.34 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.009623/1.7, allocations: 6.418 MB / 0.8632 GB, free: 67.21 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.7, allocations: 2.094 kB / 0.8632 GB, free: 67.21 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007339/1.707, allocations: 4.404 MB / 0.8675 GB, free: 66.19 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00602/1.713, allocations: 1.169 MB / 0.8686 GB, free: 66.17 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/1.739, allocations: 17.87 MB / 0.8861 GB, free: 58.84 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00592/1.745, allocations: 5.305 MB / 0.8913 GB, free: 57.9 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.004265/1.749, allocations: 1.049 MB / 0.8923 GB, free: 57.78 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000884/1.75, allocations: 295.9 kB / 0.8926 GB, free: 57.77 MB / 442.8 MB Notification: Performance of SimCode: time 6.81e-07/1.75, allocations: 0 / 0.8926 GB, free: 57.77 MB / 442.8 MB Notification: Performance of Templates: time 0.1103/1.86, allocations: 75.55 MB / 0.9663 GB, free: 17.64 MB / 442.8 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)