Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.0008801, allocations: 96.62 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002507/0.0002508, allocations: 4 kB / 351.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.23, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.3575, allocations: 108.9 MB / 0.4986 GB, free: 3.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.3578, allocations: 103.9 kB / 0.4987 GB, free: 3.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.359/0.7168, allocations: 79.66 MB / 0.5765 GB, free: 37.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.7169, allocations: 0 / 0.5765 GB, free: 37.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003063/0.7172, allocations: 75.94 kB / 0.5765 GB, free: 37.04 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.01143/0.7286, allocations: 3.47 MB / 0.5799 GB, free: 33.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.7287, allocations: 8.031 kB / 0.5799 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002097/0.7308, allocations: 447 kB / 0.5804 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004648/0.7354, allocations: 0.7258 MB / 0.5811 GB, free: 32.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008913/0.7444, allocations: 3.323 MB / 0.5843 GB, free: 28.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.7447, allocations: 230.3 kB / 0.5845 GB, free: 28.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.7459, allocations: 311.9 kB / 0.5848 GB, free: 28.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009201/0.7551, allocations: 4.138 MB / 0.5889 GB, free: 24.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.7552, allocations: 7.844 kB / 0.5889 GB, free: 24.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005828/0.7558, allocations: 136 kB / 0.589 GB, free: 24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.756, allocations: 142.3 kB / 0.5891 GB, free: 23.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00648/0.7625, allocations: 3.414 MB / 0.5925 GB, free: 20.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.7846, allocations: 13.21 MB / 0.6054 GB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005388/0.79, allocations: 6.922 MB / 0.6121 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006396/0.7965, allocations: 3.203 MB / 0.6153 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.7966, allocations: 47.88 kB / 0.6153 GB, free: 11.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 3.947e-06/0.7966, allocations: 0 / 0.6153 GB, free: 11.73 MB / 394.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=161): time 0.01606/0.8126, allocations: 7.349 MB / 0.6225 GB, free: 4.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.8127, allocations: 72.7 kB / 0.6226 GB, free: 4.105 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.8157, allocations: 1.474 MB / 0.624 GB, free: 2.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.8159, allocations: 53.7 kB / 0.6241 GB, free: 2.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.817, allocations: 1.388 MB / 0.6254 GB, free: 1.164 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005365/0.8176, allocations: 0.5577 MB / 0.626 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.8177, allocations: 39.94 kB / 0.626 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.8178, allocations: 377.9 kB / 0.6263 GB, free: 192 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.8193, allocations: 0.8043 MB / 0.6271 GB, free: 15.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.8209, allocations: 1.263 MB / 0.6284 GB, free: 13.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.8225, allocations: 1.044 MB / 0.6294 GB, free: 12.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.8225, allocations: 4 kB / 0.6294 GB, free: 12.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005757/0.8283, allocations: 2.881 MB / 0.6322 GB, free: 9.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.8284, allocations: 15.98 kB / 0.6322 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/0.8284, allocations: 12 kB / 0.6322 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.83, allocations: 0.5871 MB / 0.6328 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.8315, allocations: 371.4 kB / 0.6332 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009746/0.8412, allocations: 8.793 MB / 0.6417 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.8433, allocations: 91.8 kB / 0.6418 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/0.8436, allocations: 75.98 kB / 0.6419 GB, free: 15.64 MB / 426.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 (186): * Single equations (assignments): 182 * 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 {(4,93.8%) 30,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002885/0.8465, allocations: 1.036 MB / 0.6429 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/0.8471, allocations: 185.8 kB / 0.6431 GB, free: 14.41 MB / 426.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.005093/0.8522, allocations: 2.69 MB / 0.6457 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.8523, allocations: 16 kB / 0.6457 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.8523, allocations: 11.95 kB / 0.6457 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.8523, allocations: 11.97 kB / 0.6458 GB, free: 11.61 MB / 426.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.01076/0.8631, allocations: 5.824 MB / 0.6514 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.8631, allocations: 4 kB / 0.6515 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.8643, allocations: 243.7 kB / 0.6517 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.8658, allocations: 0.5656 MB / 0.6522 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.8659, allocations: 43.98 kB / 0.6523 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2468/1.113, allocations: 11.5 MB / 0.6635 GB, free: 86.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.113, allocations: 2.344 kB / 0.6635 GB, free: 86.36 MB / 426.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.00522/1.118, allocations: 3.916 MB / 0.6673 GB, free: 85.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009567/1.119, allocations: 462.9 kB / 0.6678 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.119, allocations: 34.25 kB / 0.6678 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009149/1.12, allocations: 80.2 kB / 0.6679 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/1.12, allocations: 123.5 kB / 0.668 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/1.12, allocations: 51.48 kB / 0.6681 GB, free: 85.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001477/1.122, allocations: 1.129 MB / 0.6692 GB, free: 85.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.122, allocations: 0 / 0.6692 GB, free: 85.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001917/1.124, allocations: 0.6467 MB / 0.6698 GB, free: 85.57 MB / 426.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 (117): * Single equations (assignments): 113 * 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 {(5,72.0%) 29,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 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 Backend phase and start with SimCode phase: time 0.005425/1.129, allocations: 5.128 MB / 0.6748 GB, free: 84.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003859/1.133, allocations: 2.717 MB / 0.6774 GB, free: 83.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.133, allocations: 1.375 kB / 0.6774 GB, free: 83.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002647/1.136, allocations: 1.737 MB / 0.6791 GB, free: 83.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.138, allocations: 471 kB / 0.6796 GB, free: 83.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03019/1.169, allocations: 25.92 MB / 0.7049 GB, free: 68.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/1.17, allocations: 2.387 MB / 0.7072 GB, free: 67.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001912/1.172, allocations: 418.7 kB / 0.7076 GB, free: 67.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/1.174, allocations: 1.109 MB / 0.7087 GB, free: 66.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/1.174, allocations: 0 / 0.7087 GB, free: 66.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08709/1.261, allocations: 54.2 MB / 0.7616 GB, free: 35.24 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.261, allocations: 254.4 kB / 0.7619 GB, free: 34.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.391/4.652, allocations: 0 / 0.7619 GB, free: 34.96 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)