Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001008/0.001009, allocations: 179.6 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.114/1.114, 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.001535/0.001535, allocations: 113.6 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0748/0.07511, allocations: 44.5 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/0.3268, allocations: 114 MB / 469.1 MB, free: 8.199 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.3271, allocations: 87.08 kB / 469.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4915/0.8185, allocations: 160.2 MB / 0.6146 GB, free: 48.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.8186, allocations: 0 / 0.6146 GB, free: 48.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004147/0.819, allocations: 91.94 kB / 0.6147 GB, free: 48.24 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01348/0.8325, allocations: 4.352 MB / 0.619 GB, free: 43.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.8326, allocations: 8.031 kB / 0.619 GB, free: 43.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005373/0.838, allocations: 0.9274 MB / 0.6199 GB, free: 42.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.8487, allocations: 3.844 MB / 0.6236 GB, free: 38.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.8491, allocations: 300 kB / 0.6239 GB, free: 38.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/0.8506, allocations: 388 kB / 0.6243 GB, free: 38.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/0.8648, allocations: 5.113 MB / 0.6293 GB, free: 33.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002355/0.8651, allocations: 7.844 kB / 0.6293 GB, free: 33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001106/0.8662, allocations: 176 kB / 0.6295 GB, free: 32.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.8664, allocations: 175.9 kB / 0.6296 GB, free: 32.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008828/0.8752, allocations: 4.181 MB / 0.6337 GB, free: 28.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02184/0.8971, allocations: 16.82 MB / 0.6501 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0051/0.9022, allocations: 8.391 MB / 0.6583 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1899/1.092, allocations: 4.219 MB / 0.6625 GB, free: 55.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/1.092, allocations: 52.31 kB / 0.6625 GB, free: 55.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=166): time 4.138e-06/1.092, allocations: 0 / 0.6625 GB, free: 55.64 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=199): time 0.01385/1.106, allocations: 8.145 MB / 0.6705 GB, free: 54.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/1.106, allocations: 73.55 kB / 0.6705 GB, free: 54.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/1.109, allocations: 1.974 MB / 0.6725 GB, free: 54.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/1.109, allocations: 55.55 kB / 0.6725 GB, free: 54.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/1.11, allocations: 1.817 MB / 0.6743 GB, free: 53.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004315/1.111, allocations: 0.6756 MB / 0.6749 GB, free: 53.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/1.111, allocations: 46.47 kB / 0.675 GB, free: 53.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/1.111, allocations: 402.6 kB / 0.6754 GB, free: 52.81 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/1.113, allocations: 0.9862 MB / 0.6763 GB, free: 52.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/1.115, allocations: 1.665 MB / 0.678 GB, free: 52.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/1.117, allocations: 1.284 MB / 0.6792 GB, free: 52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.117, allocations: 5.875 kB / 0.6792 GB, free: 52 MB / 394.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.005204/1.122, allocations: 3.384 MB / 0.6825 GB, free: 51.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.122, allocations: 16.78 kB / 0.6825 GB, free: 51.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/1.122, allocations: 19.42 kB / 0.6826 GB, free: 51.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.123, allocations: 469.7 kB / 0.683 GB, free: 51.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/1.125, allocations: 0.5493 MB / 0.6835 GB, free: 51.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/1.131, allocations: 5.018 MB / 0.6884 GB, free: 50.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/1.133, allocations: 116.8 kB / 0.6886 GB, free: 50.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/1.133, allocations: 110.7 kB / 0.6887 GB, free: 50.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,81.2%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002645/1.136, allocations: 1.218 MB / 0.6899 GB, free: 50.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/1.136, allocations: 253.9 kB / 0.6901 GB, free: 50.09 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.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.005295/1.142, allocations: 2.98 MB / 0.693 GB, free: 49.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/1.142, allocations: 26.94 kB / 0.693 GB, free: 49.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.142, allocations: 9.891 kB / 0.693 GB, free: 49.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/1.142, allocations: 9.562 kB / 0.693 GB, free: 49.73 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.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.01105/1.153, allocations: 6.663 MB / 0.6996 GB, free: 49.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/1.153, allocations: 1.156 kB / 0.6996 GB, free: 49.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/1.154, allocations: 375.7 kB / 0.6999 GB, free: 49.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009671/1.155, allocations: 479.5 kB / 0.7004 GB, free: 49.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.155, allocations: 50.09 kB / 0.7004 GB, free: 49.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006359/1.162, allocations: 6.316 MB / 0.7066 GB, free: 46.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.162, allocations: 3.188 kB / 0.7066 GB, free: 46.28 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.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.006143/1.168, allocations: 4.421 MB / 0.7109 GB, free: 45.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/1.169, allocations: 0.5482 MB / 0.7114 GB, free: 44.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/1.17, allocations: 41.22 kB / 0.7115 GB, free: 44.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.171, allocations: 98.36 kB / 0.7116 GB, free: 44.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/1.171, allocations: 150.4 kB / 0.7117 GB, free: 44.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.171, allocations: 54.67 kB / 0.7118 GB, free: 44.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002277/1.174, allocations: 1.5 MB / 0.7132 GB, free: 44.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.174, allocations: 0 / 0.7132 GB, free: 44.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002601/1.176, allocations: 0.7934 MB / 0.714 GB, free: 44.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.is[3],smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.zeroInductor.i0,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 161 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,53.1%) 30,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006051/1.177, allocations: 395.1 kB / 0.7144 GB, free: 44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00419/1.181, allocations: 2.906 MB / 0.7172 GB, free: 42.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.181, allocations: 2.438 kB / 0.7172 GB, free: 42.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/1.183, allocations: 1.685 MB / 0.7189 GB, free: 42.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.186, allocations: 0.566 MB / 0.7194 GB, free: 41.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.201, allocations: 8.697 MB / 0.7279 GB, free: 37.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/1.204, allocations: 2.785 MB / 0.7306 GB, free: 35.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002382/1.206, allocations: 0.5829 MB / 0.7312 GB, free: 35.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/1.207, allocations: 170.6 kB / 0.7314 GB, free: 35.84 MB / 394.7 MB Notification: Performance of SimCode: time 3.226e-06/1.207, allocations: 0 / 0.7314 GB, free: 35.84 MB / 394.7 MB Notification: Performance of Templates: time 0.05808/1.265, allocations: 36.7 MB / 0.7672 GB, free: 24.62 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)