Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 198 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009016/0.0009016, allocations: 98.81 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002023/0.0002023, allocations: 8 kB / 357.9 MB, free: 9.277 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1876, allocations: 51.48 MB / 409.4 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3032/0.4909, allocations: 121.5 MB / 0.5185 GB, free: 47.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4911, allocations: 98.5 kB / 0.5186 GB, free: 47.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5716/1.063, allocations: 166.9 MB / 0.6815 GB, free: 77 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.416e-06/1.063, allocations: 0 / 0.6815 GB, free: 77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003129/1.063, allocations: 102.5 kB / 0.6816 GB, free: 76.99 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01269/1.076, allocations: 4.417 MB / 0.6859 GB, free: 75.58 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.076, allocations: 12.22 kB / 0.6859 GB, free: 75.58 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/1.082, allocations: 0.9563 MB / 0.6868 GB, free: 75.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/1.092, allocations: 3.865 MB / 0.6906 GB, free: 74.74 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/1.093, allocations: 306.5 kB / 0.6909 GB, free: 74.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/1.094, allocations: 397.7 kB / 0.6913 GB, free: 74.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009664/1.103, allocations: 5.129 MB / 0.6963 GB, free: 74.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.864e-05/1.104, allocations: 8.641 kB / 0.6963 GB, free: 74.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003847/1.104, allocations: 172.8 kB / 0.6965 GB, free: 74.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/1.104, allocations: 171.1 kB / 0.6966 GB, free: 74.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006359/1.11, allocations: 4.218 MB / 0.7008 GB, free: 74.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02385/1.134, allocations: 16.95 MB / 0.7173 GB, free: 70.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005247/1.14, allocations: 8.679 MB / 0.7258 GB, free: 63.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006292/1.146, allocations: 4.797 MB / 0.7305 GB, free: 61.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/1.146, allocations: 52.84 kB / 0.7305 GB, free: 61.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=165): time 3.927e-06/1.146, allocations: 0 / 0.7305 GB, free: 61.88 MB / 458.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[3]) - smee.is[2] - smee.is[1] = 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=198): time 0.01528/1.161, allocations: 8.293 MB / 0.7386 GB, free: 60.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/1.161, allocations: 72.66 kB / 0.7387 GB, free: 59.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003342/1.165, allocations: 1.992 MB / 0.7406 GB, free: 59.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004238/1.165, allocations: 61.52 kB / 0.7407 GB, free: 59.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/1.166, allocations: 1.831 MB / 0.7425 GB, free: 57.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006427/1.167, allocations: 0.6737 MB / 0.7431 GB, free: 57.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/1.167, allocations: 48.78 kB / 0.7432 GB, free: 57.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/1.167, allocations: 400 kB / 0.7436 GB, free: 56.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/1.169, allocations: 0.9914 MB / 0.7445 GB, free: 56.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/1.17, allocations: 1.666 MB / 0.7462 GB, free: 55.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.172, allocations: 1.273 MB / 0.7474 GB, free: 54.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/1.172, allocations: 6.188 kB / 0.7474 GB, free: 54.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.005114/1.177, allocations: 3.544 MB / 0.7509 GB, free: 53.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/1.177, allocations: 11.81 kB / 0.7509 GB, free: 53.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/1.177, allocations: 26.28 kB / 0.7509 GB, free: 53.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009689/1.178, allocations: 400.8 kB / 0.7513 GB, free: 53.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/1.18, allocations: 0.5575 MB / 0.7518 GB, free: 53.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005655/1.186, allocations: 6.842 MB / 0.7585 GB, free: 47.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/1.188, allocations: 132 kB / 0.7586 GB, free: 47.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/1.189, allocations: 106.5 kB / 0.7587 GB, free: 47.42 MB / 458.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 (275): * Single equations (assignments): 271 * 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: 3 * 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: 3 {(1,100.0%) 8,(2,100.0%) 15,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00226/1.191, allocations: 1.22 MB / 0.7599 GB, free: 46.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005237/1.191, allocations: 255.6 kB / 0.7602 GB, free: 46.65 MB / 458.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[3]) - smee.is[2] - smee.is[1] = 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 wrapFunctionCalls (simulation): time 0.004508/1.196, allocations: 3.147 MB / 0.7633 GB, free: 45.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.196, allocations: 18.22 kB / 0.7633 GB, free: 45.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/1.196, allocations: 5.531 kB / 0.7633 GB, free: 45.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/1.196, allocations: 10.64 kB / 0.7633 GB, free: 45.06 MB / 458.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[3]) - smee.is[2] - smee.is[1] = 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 removeSimpleEquations (simulation): time 0.009984/1.206, allocations: 6.824 MB / 0.77 GB, free: 41.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/1.206, allocations: 3 kB / 0.77 GB, free: 41.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.208, allocations: 377.7 kB / 0.7703 GB, free: 41.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008387/1.208, allocations: 383.6 kB / 0.7707 GB, free: 41.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/1.208, allocations: 50.92 kB / 0.7707 GB, free: 41.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005604/1.214, allocations: 9.672 MB / 0.7802 GB, free: 33.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.214, allocations: 3.875 kB / 0.7802 GB, free: 33.17 MB / 458.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[3]) - smee.is[2] - smee.is[1] = 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.005764/1.22, allocations: 4.583 MB / 0.7847 GB, free: 30.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/1.221, allocations: 0.5434 MB / 0.7852 GB, free: 30.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004868/1.222, allocations: 46.91 kB / 0.7852 GB, free: 30.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.223, allocations: 99.48 kB / 0.7853 GB, free: 30.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/1.223, allocations: 146.5 kB / 0.7855 GB, free: 30.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.224, allocations: 51.72 kB / 0.7855 GB, free: 30.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0019/1.226, allocations: 1.52 MB / 0.787 GB, free: 29.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.226, allocations: 0 / 0.787 GB, free: 29.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002518/1.228, allocations: 0.7989 MB / 0.7878 GB, free: 29.59 MB / 458.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 (169): * Single equations (assignments): 165 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(2,100.0%) 15,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006382/1.229, allocations: 429.2 kB / 0.7882 GB, free: 29.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004031/1.233, allocations: 3.027 MB / 0.7911 GB, free: 28.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.233, allocations: 0 / 0.7911 GB, free: 28.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00243/1.235, allocations: 1.832 MB / 0.7929 GB, free: 27.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/1.238, allocations: 0.5674 MB / 0.7935 GB, free: 26.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.249, allocations: 8.744 MB / 0.802 GB, free: 21.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/1.251, allocations: 2.798 MB / 0.8048 GB, free: 19.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002376/1.253, allocations: 0.5918 MB / 0.8053 GB, free: 18.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/1.254, allocations: 174.4 kB / 0.8055 GB, free: 18.72 MB / 458.7 MB Notification: Performance of SimCode: time 2.345e-06/1.254, allocations: 0 / 0.8055 GB, free: 18.72 MB / 458.7 MB Notification: Performance of Templates: time 0.05404/1.308, allocations: 36.84 MB / 0.8415 GB, free: 14.02 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1)