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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001124/0.001124, allocations: 197.5 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.296/1.296, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008715/0.0008718, allocations: 106.6 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002584, allocations: 8 kB / 358 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2233, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3092/0.5325, allocations: 110 MB / 0.5073 GB, free: 96.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.5328, allocations: 98.41 kB / 0.5074 GB, free: 96.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1653/0.6981, allocations: 83 MB / 0.5885 GB, free: 22.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6982, allocations: 0 / 0.5885 GB, free: 22.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001974/0.6984, allocations: 75.92 kB / 0.5885 GB, free: 22 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.008104/0.7065, allocations: 3.509 MB / 0.592 GB, free: 18.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.7065, allocations: 12.03 kB / 0.592 GB, free: 18.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000896/0.7074, allocations: 443 kB / 0.5924 GB, free: 17.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/0.7111, allocations: 0.7338 MB / 0.5931 GB, free: 17.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007395/0.7185, allocations: 3.339 MB / 0.5964 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.7187, allocations: 230.3 kB / 0.5966 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006522/0.7193, allocations: 319.9 kB / 0.5969 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006924/0.7263, allocations: 4.136 MB / 0.6009 GB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.788e-05/0.7264, allocations: 7.906 kB / 0.6009 GB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.7267, allocations: 132 kB / 0.6011 GB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.7268, allocations: 142.3 kB / 0.6012 GB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005365/0.7322, allocations: 3.414 MB / 0.6045 GB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.7515, allocations: 13.32 MB / 0.6175 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006557/0.7581, allocations: 7.159 MB / 0.6245 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006315/0.7644, allocations: 3.441 MB / 0.6279 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.7645, allocations: 47.88 kB / 0.6279 GB, free: 11.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 2.816e-06/0.7645, allocations: 0 / 0.6279 GB, free: 11.92 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.0147/0.7792, allocations: 7.48 MB / 0.6352 GB, free: 4.207 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.7793, allocations: 68.72 kB / 0.6353 GB, free: 4.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.7819, allocations: 1.483 MB / 0.6368 GB, free: 2.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.782, allocations: 61.7 kB / 0.6368 GB, free: 2.578 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008921/0.7829, allocations: 1.404 MB / 0.6382 GB, free: 1.156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000424/0.7833, allocations: 0.5429 MB / 0.6387 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/0.7834, allocations: 36 kB / 0.6387 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7836, allocations: 373.9 kB / 0.6391 GB, free: 204 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.7849, allocations: 0.8004 MB / 0.6399 GB, free: 15.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.7864, allocations: 1.251 MB / 0.6411 GB, free: 13.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.788, allocations: 1.025 MB / 0.6421 GB, free: 12.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.788, allocations: 4 kB / 0.6421 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.004798/0.7928, allocations: 3.021 MB / 0.6451 GB, free: 9.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.7929, allocations: 12 kB / 0.6451 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.7929, allocations: 12.31 kB / 0.6451 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.7942, allocations: 0.5164 MB / 0.6456 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.7956, allocations: 387.4 kB / 0.646 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009497/0.8052, allocations: 10.6 MB / 0.6563 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.8068, allocations: 88.02 kB / 0.6564 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.8069, allocations: 71.98 kB / 0.6565 GB, free: 13.48 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.001839/0.8088, allocations: 1.031 MB / 0.6575 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.8091, allocations: 197.7 kB / 0.6577 GB, free: 12.25 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.004377/0.8135, allocations: 2.831 MB / 0.6604 GB, free: 9.309 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.8135, allocations: 16 kB / 0.6604 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.8136, allocations: 8 kB / 0.6604 GB, free: 9.285 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.8136, allocations: 7.969 kB / 0.6605 GB, free: 9.277 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.008744/0.8223, allocations: 5.948 MB / 0.6663 GB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/0.8223, allocations: 4 kB / 0.6663 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.8235, allocations: 251.9 kB / 0.6665 GB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.8248, allocations: 0.4995 MB / 0.667 GB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.8249, allocations: 43.98 kB / 0.667 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2067/1.032, allocations: 13.31 MB / 0.68 GB, free: 85.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.032, allocations: 3.562 kB / 0.68 GB, free: 85.25 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.005173/1.037, allocations: 4.041 MB / 0.684 GB, free: 84.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000881/1.038, allocations: 464.8 kB / 0.6844 GB, free: 84.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/1.038, allocations: 31.12 kB / 0.6845 GB, free: 84.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/1.039, allocations: 80.61 kB / 0.6845 GB, free: 84.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/1.039, allocations: 121.6 kB / 0.6847 GB, free: 84.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.087e-05/1.039, allocations: 49.59 kB / 0.6847 GB, free: 84.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001337/1.04, allocations: 1.142 MB / 0.6858 GB, free: 84.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.04, allocations: 0 / 0.6858 GB, free: 84.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00197/1.042, allocations: 0.6443 MB / 0.6864 GB, free: 84.24 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 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.005193/1.048, allocations: 5.264 MB / 0.6916 GB, free: 82.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003589/1.051, allocations: 2.867 MB / 0.6944 GB, free: 81.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.051, allocations: 1.312 kB / 0.6944 GB, free: 81.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/1.053, allocations: 1.867 MB / 0.6962 GB, free: 81.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/1.055, allocations: 484 kB / 0.6967 GB, free: 81.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/1.079, allocations: 26.13 MB / 0.7222 GB, free: 65.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/1.08, allocations: 2.396 MB / 0.7245 GB, free: 65.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001348/1.082, allocations: 422.5 kB / 0.7249 GB, free: 65.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.083, allocations: 1.116 MB / 0.726 GB, free: 64.87 MB / 442.7 MB Notification: Performance of SimCode: time 6.061e-06/1.083, allocations: 0 / 0.726 GB, free: 64.87 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06374/1.146, allocations: 54.08 MB / 0.7788 GB, free: 38.77 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/1.147, allocations: 244 kB / 0.7791 GB, free: 38.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/4.237, allocations: 0 / 0.7791 GB, free: 38.5 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)