Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009598/0.0009627, allocations: 180.1 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.227/1.227, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.00158/0.00158, allocations: 111.9 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004466, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09248, allocations: 44.48 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2856/0.3781, allocations: 111.4 MB / 466.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.3784, allocations: 90.02 kB / 466.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5254/0.9038, allocations: 169.1 MB / 0.6207 GB, free: 42.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9038, allocations: 0 / 0.6207 GB, free: 42.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005739/0.9044, allocations: 179.7 kB / 0.6209 GB, free: 41.9 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: 1927 * Number of variables: 1927 Notification: Performance of Generate backend data structure: time 0.02235/0.9268, allocations: 7.267 MB / 0.628 GB, free: 34.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.9268, allocations: 11.97 kB / 0.628 GB, free: 34.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009737/0.9366, allocations: 1.595 MB / 0.6295 GB, free: 32.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/0.9529, allocations: 5.951 MB / 0.6353 GB, free: 26.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004922/0.9535, allocations: 0.5299 MB / 0.6359 GB, free: 26.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002666/0.9562, allocations: 0.7107 MB / 0.6365 GB, free: 25.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.9777, allocations: 9.508 MB / 0.6458 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002364/0.978, allocations: 15.84 kB / 0.6458 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/0.9792, allocations: 308 kB / 0.6461 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/0.9795, allocations: 334.6 kB / 0.6465 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.9962, allocations: 7.764 MB / 0.654 GB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.265/1.261, allocations: 30.59 MB / 0.6839 GB, free: 37.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/1.275, allocations: 16.12 MB / 0.6997 GB, free: 25.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01357/1.289, allocations: 7.035 MB / 0.7065 GB, free: 24.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/1.289, allocations: 68.27 kB / 0.7066 GB, free: 24.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=308): time 4.108e-06/1.289, allocations: 0 / 0.7066 GB, free: 24.71 MB / 394.7 MB Warning: The linear system: 1 : smpm3.is[1] + smpm3.is[2] + smpm3.is[3] = 0.0 2 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ -smpm3.is[3] ; smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smpm3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=346): time 0.03377/1.323, allocations: 14.34 MB / 0.7206 GB, free: 22.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/1.323, allocations: 85 kB / 0.7207 GB, free: 22.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00547/1.328, allocations: 3.187 MB / 0.7238 GB, free: 21.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006776/1.329, allocations: 83.98 kB / 0.7239 GB, free: 21.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/1.331, allocations: 3.121 MB / 0.7269 GB, free: 20.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.332, allocations: 1.176 MB / 0.7281 GB, free: 19.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/1.332, allocations: 84.41 kB / 0.7281 GB, free: 19.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/1.332, allocations: 465.4 kB / 0.7286 GB, free: 19.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002493/1.335, allocations: 1.695 MB / 0.7302 GB, free: 19.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002886/1.338, allocations: 2.779 MB / 0.733 GB, free: 17.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/1.341, allocations: 2.214 MB / 0.7351 GB, free: 16.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/1.341, allocations: 9.438 kB / 0.7351 GB, free: 16.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.008597/1.349, allocations: 5.701 MB / 0.7407 GB, free: 13.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/1.349, allocations: 18.28 kB / 0.7407 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-05/1.349, allocations: 38.75 kB / 0.7407 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/1.351, allocations: 0.7766 MB / 0.7415 GB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/1.354, allocations: 0.9009 MB / 0.7424 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009226/1.364, allocations: 10.83 MB / 0.753 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/1.368, allocations: 191.1 kB / 0.7532 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007093/1.369, allocations: 167.8 kB / 0.7533 GB, free: 5.434 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (463): * Single equations (assignments): 457 * 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 {(5,92.0%) 31,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005/1.374, allocations: 2.159 MB / 0.7554 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.375, allocations: 422.6 kB / 0.7558 GB, free: 4.117 MB / 394.7 MB Warning: The linear system: 1 : smpm3.is[1] + smpm3.is[2] + smpm3.is[3] = 0.0 2 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ -smpm3.is[3] ; smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smpm3.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.008145/1.383, allocations: 5.246 MB / 0.7609 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/1.383, allocations: 35.62 kB / 0.761 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.383, allocations: 11.94 kB / 0.761 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.147e-05/1.383, allocations: 20.92 kB / 0.761 GB, free: 1.734 MB / 394.7 MB Warning: The linear system: 1 : smpm3.is[1] + smpm3.is[2] + smpm3.is[3] = 0.0 2 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ -smpm3.is[3] ; smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smpm3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/1.404, allocations: 12.32 MB / 0.773 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/1.404, allocations: 12.28 kB / 0.7731 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/1.406, allocations: 0.537 MB / 0.7736 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/1.408, allocations: 1.008 MB / 0.7746 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/1.409, allocations: 84.64 kB / 0.7746 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/1.427, allocations: 18.02 MB / 0.7922 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.427, allocations: 4 kB / 0.7922 GB, free: 12.66 MB / 426.7 MB Warning: The linear system: 1 : smpm3.is[1] + smpm3.is[2] + smpm3.is[3] = 0.0 2 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ -smpm3.is[3] ; smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smpm3.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.01214/1.439, allocations: 7.996 MB / 0.8 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/1.442, allocations: 0.8947 MB / 0.8009 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008032/1.443, allocations: 72 kB / 0.801 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.445, allocations: 163.5 kB / 0.8011 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005244/1.446, allocations: 253.4 kB / 0.8014 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.446, allocations: 100.3 kB / 0.8015 GB, free: 3.934 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004012/1.45, allocations: 2.421 MB / 0.8038 GB, free: 1.914 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.45, allocations: 0 / 0.8038 GB, free: 1.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005435/1.455, allocations: 1.348 MB / 0.8052 GB, free: 0.5742 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.is[3],smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.stator.zeroInductor.i0,loadInertiaM.phi,loadInertia3.phi,vfController.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 (268): * Single equations (assignments): 262 * 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,(5,68.0%) 29,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000948/1.456, allocations: 0.5662 MB / 0.8057 GB, free: 104 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01271/1.469, allocations: 5.587 MB / 0.8112 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.469, allocations: 5.875 kB / 0.8112 GB, free: 12.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004861/1.474, allocations: 3.292 MB / 0.8144 GB, free: 9.395 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/1.479, allocations: 1.037 MB / 0.8154 GB, free: 8.582 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2046/1.683, allocations: 15.69 MB / 0.8307 GB, free: 82.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003684/1.687, allocations: 4.528 MB / 0.8351 GB, free: 81.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003424/1.69, allocations: 0.9369 MB / 0.8361 GB, free: 81.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008617/1.691, allocations: 288.5 kB / 0.8363 GB, free: 81.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.343e-06/1.691, allocations: 3.469 kB / 0.8363 GB, free: 81.3 MB / 442.7 MB Notification: Performance of Templates: time 0.1007/1.792, allocations: 64.19 MB / 0.899 GB, free: 74.59 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)