Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000999/0.000999, allocations: 199.7 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.194/1.194, allocations: 227.2 MB / 245 MB, free: 7.652 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008859/0.0008859, allocations: 95.97 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002028/0.0002028, allocations: 4 kB / 357.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1908, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2735/0.4643, allocations: 110 MB / 0.5072 GB, free: 96.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4647, allocations: 105.1 kB / 0.5073 GB, free: 96.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1606/0.6253, allocations: 82.98 MB / 0.5884 GB, free: 22.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6254, allocations: 0 / 0.5884 GB, free: 22.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001678/0.6255, allocations: 75.88 kB / 0.5884 GB, free: 22.03 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.007196/0.6328, allocations: 3.509 MB / 0.5919 GB, free: 18.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.6328, allocations: 8.031 kB / 0.5919 GB, free: 18.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003073/0.6359, allocations: 0.7299 MB / 0.5926 GB, free: 17.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006262/0.6422, allocations: 3.339 MB / 0.5958 GB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.6423, allocations: 234.3 kB / 0.5961 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004996/0.6428, allocations: 315.9 kB / 0.5964 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005657/0.6485, allocations: 4.128 MB / 0.6004 GB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-05/0.6485, allocations: 11.91 kB / 0.6004 GB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.6488, allocations: 140 kB / 0.6005 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.295e-05/0.6489, allocations: 138.3 kB / 0.6007 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004706/0.6536, allocations: 3.417 MB / 0.604 GB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/0.6714, allocations: 13.31 MB / 0.617 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006333/0.6777, allocations: 7.173 MB / 0.624 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00483/0.6826, allocations: 3.436 MB / 0.6274 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.6826, allocations: 47.88 kB / 0.6274 GB, free: 12.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 2.294e-06/0.6826, allocations: 0 / 0.6274 GB, free: 12.4 MB / 410.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : (-aimc.is[1]) - aimc.is[3] - aimc.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ aimc.is[1] ; aimc.is[2] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; aimc.is[3] ] might be structurally or numerically singular for variable aimc.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=159): time 0.01353/0.6962, allocations: 7.49 MB / 0.6347 GB, free: 4.684 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.6962, allocations: 68.72 kB / 0.6348 GB, free: 4.605 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.6983, allocations: 1.486 MB / 0.6362 GB, free: 3.117 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.674e-05/0.6984, allocations: 49.7 kB / 0.6363 GB, free: 3.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008686/0.6993, allocations: 1.4 MB / 0.6377 GB, free: 1.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003933/0.6997, allocations: 0.539 MB / 0.6382 GB, free: 1.098 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/0.6998, allocations: 32 kB / 0.6382 GB, free: 1.066 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7, allocations: 385.9 kB / 0.6386 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.7012, allocations: 0.7926 MB / 0.6394 GB, free: 15.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.7026, allocations: 1.255 MB / 0.6406 GB, free: 14.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.704, allocations: 1.033 MB / 0.6416 GB, free: 13.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.7041, allocations: 4 kB / 0.6416 GB, free: 13.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004336/0.7084, allocations: 3.025 MB / 0.6446 GB, free: 10.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.7084, allocations: 11.98 kB / 0.6446 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.7085, allocations: 16 kB / 0.6446 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.7097, allocations: 0.5238 MB / 0.6451 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.7111, allocations: 375.4 kB / 0.6454 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009722/0.7208, allocations: 10.58 MB / 0.6558 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.7223, allocations: 91.88 kB / 0.6559 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.7224, allocations: 72 kB / 0.6559 GB, free: 13.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (191): * Single equations (assignments): 185 * 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: 5 * 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: 5 {(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002033/0.7245, allocations: 1.033 MB / 0.6569 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.7248, allocations: 189.7 kB / 0.6571 GB, free: 12.75 MB / 442.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : (-aimc.is[1]) - aimc.is[3] - aimc.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; aimc.is[3] ] might be structurally or numerically singular for variable aimc.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.004257/0.7291, allocations: 2.851 MB / 0.6599 GB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.7291, allocations: 16 kB / 0.6599 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.7291, allocations: 4 kB / 0.6599 GB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.7291, allocations: 7.969 kB / 0.6599 GB, free: 9.762 MB / 442.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : (-aimc.is[1]) - aimc.is[3] - aimc.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; aimc.is[3] ] might be structurally or numerically singular for variable aimc.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.008447/0.7376, allocations: 5.94 MB / 0.6657 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/0.7376, allocations: 192 / 0.6657 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.7387, allocations: 259.6 kB / 0.666 GB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.7399, allocations: 0.4967 MB / 0.6665 GB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-05/0.74, allocations: 39.98 kB / 0.6665 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1815/0.9215, allocations: 13.32 MB / 0.6795 GB, free: 85.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9215, allocations: 3.406 kB / 0.6795 GB, free: 85.7 MB / 442.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : (-aimc.is[1]) - aimc.is[3] - aimc.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; aimc.is[3] ] might be structurally or numerically singular for variable aimc.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.005047/0.9266, allocations: 4.038 MB / 0.6835 GB, free: 84.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.9276, allocations: 461.2 kB / 0.6839 GB, free: 84.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.9278, allocations: 37.25 kB / 0.6839 GB, free: 84.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009044/0.9288, allocations: 84.31 kB / 0.684 GB, free: 84.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.929, allocations: 112.2 kB / 0.6841 GB, free: 84.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.223e-05/0.9291, allocations: 44.5 kB / 0.6842 GB, free: 84.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001461/0.9306, allocations: 1.146 MB / 0.6853 GB, free: 84.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9306, allocations: 2.156 kB / 0.6853 GB, free: 84.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002063/0.9327, allocations: 0.6389 MB / 0.6859 GB, free: 84.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.is[3],aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,vfController.x,loadInertia.w) * 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 (122): * Single equations (assignments): 116 * 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 {(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000509/0.9332, allocations: 398.6 kB / 0.6863 GB, free: 84.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003561/0.9368, allocations: 2.873 MB / 0.6891 GB, free: 83.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9368, allocations: 0 / 0.6891 GB, free: 83.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.939, allocations: 1.865 MB / 0.6909 GB, free: 83.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.9409, allocations: 496.1 kB / 0.6914 GB, free: 83.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008818/0.9497, allocations: 7.077 MB / 0.6983 GB, free: 80.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.9513, allocations: 2.393 MB / 0.7006 GB, free: 79.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00142/0.9527, allocations: 428.1 kB / 0.701 GB, free: 79.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.953, allocations: 133.1 kB / 0.7012 GB, free: 79.43 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.953, allocations: 0 / 0.7012 GB, free: 79.43 MB / 442.7 MB Notification: Performance of Templates: time 0.04227/0.9953, allocations: 31.35 MB / 0.7318 GB, free: 77.84 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)