Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001052/0.001052, allocations: 179.8 kB / 16.38 MB, free: 5.762 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.251/1.251, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001573/0.001573, allocations: 117 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09122, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2965/0.3877, allocations: 107.9 MB / 463 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.3881, allocations: 94.7 kB / 463.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4808/0.8688, allocations: 159.2 MB / 0.6077 GB, free: 55.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.8689, allocations: 4 kB / 0.6077 GB, free: 55.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004539/0.8693, allocations: 167.8 kB / 0.6078 GB, free: 55.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: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.01737/0.8867, allocations: 6.961 MB / 0.6146 GB, free: 48.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.8868, allocations: 8.031 kB / 0.6146 GB, free: 48.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007562/0.8943, allocations: 1.521 MB / 0.6161 GB, free: 46.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/0.9066, allocations: 5.734 MB / 0.6217 GB, free: 40.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004109/0.9071, allocations: 0.5137 MB / 0.6222 GB, free: 40.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001873/0.909, allocations: 0.6795 MB / 0.6229 GB, free: 39.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02055/0.9295, allocations: 9.193 MB / 0.6318 GB, free: 30.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003112/0.9299, allocations: 11.84 kB / 0.6319 GB, free: 30.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/0.9317, allocations: 292 kB / 0.6321 GB, free: 29.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002733/0.932, allocations: 322.1 kB / 0.6324 GB, free: 29.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0174/0.9494, allocations: 7.532 MB / 0.6398 GB, free: 22.01 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2337/1.183, allocations: 28.79 MB / 0.6679 GB, free: 43.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/1.196, allocations: 16.53 MB / 0.6841 GB, free: 31.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/1.209, allocations: 6.602 MB / 0.6905 GB, free: 30.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/1.209, allocations: 69.27 kB / 0.6906 GB, free: 30.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=278): time 4.659e-06/1.209, allocations: 0 / 0.6906 GB, free: 30.19 MB / 394.7 MB Warning: The linear system: 1 : smr3.is[1] + smr3.is[2] + smr3.is[3] = 0.0 2 : 3.0 * smr3.stator.zeroInductor.i0 = smr3.is[1] + smr3.is[2] + smr3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smr3.is[2] ; smr3.is[1] ] = [ -smr3.is[3] ; smr3.is[3] + (-3.0) * smr3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smr3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=312): time 0.02995/1.239, allocations: 13.51 MB / 0.7038 GB, free: 27.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/1.239, allocations: 84.02 kB / 0.7038 GB, free: 27.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008408/1.247, allocations: 2.904 MB / 0.7067 GB, free: 27.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007057/1.248, allocations: 80.64 kB / 0.7068 GB, free: 27.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003168/1.251, allocations: 2.981 MB / 0.7097 GB, free: 26.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002076/1.253, allocations: 1.067 MB / 0.7107 GB, free: 25.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006759/1.254, allocations: 77.62 kB / 0.7108 GB, free: 25.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003781/1.254, allocations: 451 kB / 0.7112 GB, free: 25.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00364/1.258, allocations: 1.583 MB / 0.7128 GB, free: 25.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003821/1.262, allocations: 2.571 MB / 0.7153 GB, free: 24.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/1.265, allocations: 2.061 MB / 0.7173 GB, free: 24.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.263e-05/1.265, allocations: 10.94 kB / 0.7173 GB, free: 24.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.009919/1.275, allocations: 5.3 MB / 0.7225 GB, free: 23.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/1.275, allocations: 17.59 kB / 0.7225 GB, free: 23.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.165e-05/1.276, allocations: 30.53 kB / 0.7225 GB, free: 23.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/1.277, allocations: 0.7435 MB / 0.7232 GB, free: 23.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/1.28, allocations: 0.8217 MB / 0.724 GB, free: 23.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009212/1.29, allocations: 10.74 MB / 0.7345 GB, free: 16.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/1.293, allocations: 173.2 kB / 0.7347 GB, free: 16.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005905/1.294, allocations: 153.5 kB / 0.7349 GB, free: 16.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 (417): * Single equations (assignments): 411 * 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: 4 * 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: 4 {(4,81.2%) 30,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004424/1.298, allocations: 2.099 MB / 0.7369 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/1.299, allocations: 378.6 kB / 0.7373 GB, free: 15.54 MB / 394.7 MB Warning: The linear system: 1 : smr3.is[1] + smr3.is[2] + smr3.is[3] = 0.0 2 : 3.0 * smr3.stator.zeroInductor.i0 = smr3.is[1] + smr3.is[2] + smr3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smr3.is[1] ; smr3.is[2] ] = [ -smr3.is[3] ; smr3.is[3] + (-3.0) * smr3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smr3.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008376/1.308, allocations: 4.898 MB / 0.742 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/1.308, allocations: 35.28 kB / 0.7421 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-05/1.308, allocations: 17.67 kB / 0.7421 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/1.308, allocations: 15.42 kB / 0.7421 GB, free: 13.32 MB / 394.7 MB Warning: The linear system: 1 : smr3.is[1] + smr3.is[2] + smr3.is[3] = 0.0 2 : 3.0 * smr3.stator.zeroInductor.i0 = smr3.is[1] + smr3.is[2] + smr3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smr3.is[1] ; smr3.is[2] ] = [ -smr3.is[3] ; smr3.is[3] + (-3.0) * smr3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smr3.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.01942/1.327, allocations: 11.29 MB / 0.7531 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.327, allocations: 5.922 kB / 0.7531 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.329, allocations: 497 kB / 0.7536 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/1.332, allocations: 1.015 MB / 0.7546 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/1.332, allocations: 82.08 kB / 0.7547 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/1.347, allocations: 17.71 MB / 0.772 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.347, allocations: 9.141 kB / 0.772 GB, free: 10.15 MB / 410.7 MB Warning: The linear system: 1 : smr3.is[1] + smr3.is[2] + smr3.is[3] = 0.0 2 : 3.0 * smr3.stator.zeroInductor.i0 = smr3.is[1] + smr3.is[2] + smr3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smr3.is[1] ; smr3.is[2] ] = [ -smr3.is[3] ; smr3.is[3] + (-3.0) * smr3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smr3.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.358, allocations: 7.318 MB / 0.7791 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/1.36, allocations: 0.8169 MB / 0.7799 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/1.361, allocations: 67.89 kB / 0.78 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/1.364, allocations: 156.1 kB / 0.7801 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005248/1.364, allocations: 230.4 kB / 0.7804 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/1.364, allocations: 92.42 kB / 0.7805 GB, free: 5.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004152/1.369, allocations: 2.218 MB / 0.7826 GB, free: 4.832 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.369, allocations: 0 / 0.7826 GB, free: 4.832 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005522/1.374, allocations: 1.262 MB / 0.7839 GB, free: 4.508 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.is[3],smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.stator.zeroInductor.i0,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * 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 (236): * Single equations (assignments): 230 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 33,(6,69.4%) 28,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/1.375, allocations: 0.5034 MB / 0.7843 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008855/1.384, allocations: 4.919 MB / 0.7891 GB, free: 0 / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.384, allocations: 2.984 kB / 0.7892 GB, free: 0 / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005051/1.389, allocations: 3.156 MB / 0.7922 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/1.394, allocations: 0.9274 MB / 0.7931 GB, free: 12.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/1.419, allocations: 15.06 MB / 0.8079 GB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005899/1.425, allocations: 4.395 MB / 0.8121 GB, free: 11.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003476/1.428, allocations: 0.873 MB / 0.813 GB, free: 10.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008946/1.429, allocations: 261.4 kB / 0.8132 GB, free: 10.58 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/1.429, allocations: 0 / 0.8132 GB, free: 10.58 MB / 442.7 MB Notification: Performance of Templates: time 0.2737/1.703, allocations: 58.64 MB / 0.8705 GB, free: 88.77 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)