Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.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.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009774/0.0009775, allocations: 197.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009396/0.0009396, allocations: 109.4 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.000249, allocations: 4 kB / 358 MB, free: 9.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2109, allocations: 51.49 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.551, allocations: 120.7 MB / 0.5178 GB, free: 47.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5513, allocations: 104 kB / 0.5179 GB, free: 47.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6012/1.153, allocations: 175.6 MB / 0.6894 GB, free: 47.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.153, allocations: 0 / 0.6894 GB, free: 47.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000534/1.153, allocations: 179.3 kB / 0.6896 GB, free: 47.05 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02259/1.176, allocations: 7.383 MB / 0.6968 GB, free: 44.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.176, allocations: 7.25 kB / 0.6968 GB, free: 44.75 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004064/1.18, allocations: 1.002 MB / 0.6978 GB, free: 44.67 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009654/1.189, allocations: 1.612 MB / 0.6994 GB, free: 44.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01305/1.203, allocations: 6.044 MB / 0.7053 GB, free: 43.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/1.203, allocations: 0.5311 MB / 0.7058 GB, free: 43.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0013/1.204, allocations: 0.7129 MB / 0.7065 GB, free: 43.37 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/1.221, allocations: 9.524 MB / 0.7158 GB, free: 42.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/1.222, allocations: 14.53 kB / 0.7158 GB, free: 42.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006788/1.222, allocations: 307.4 kB / 0.7161 GB, free: 42.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002518/1.223, allocations: 339 kB / 0.7164 GB, free: 42.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/1.236, allocations: 7.804 MB / 0.724 GB, free: 42.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0581/1.294, allocations: 30.99 MB / 0.7543 GB, free: 34.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01606/1.311, allocations: 17.34 MB / 0.7712 GB, free: 35.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/1.327, allocations: 7.429 MB / 0.7785 GB, free: 31.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/1.327, allocations: 67.75 kB / 0.7786 GB, free: 31.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=305): time 5.851e-06/1.327, allocations: 0 / 0.7786 GB, free: 31.16 MB / 474.7 MB Warning: The linear system: 1 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] 2 : (-smpm3.is[3]) - smpm3.is[2] - smpm3.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smpm3.is[1] ; smpm3.is[2] ] = [ smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ; smpm3.is[3] ] might be structurally or numerically singular for variable smpm3.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=343): time 0.02912/1.356, allocations: 14.08 MB / 0.7923 GB, free: 24.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/1.356, allocations: 90.62 kB / 0.7924 GB, free: 24.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006559/1.363, allocations: 3.227 MB / 0.7956 GB, free: 22.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005767/1.363, allocations: 83.33 kB / 0.7956 GB, free: 22.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002189/1.366, allocations: 3.152 MB / 0.7987 GB, free: 20.47 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001161/1.367, allocations: 1.166 MB / 0.7999 GB, free: 19.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/1.367, allocations: 87.19 kB / 0.7999 GB, free: 19.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003219/1.367, allocations: 461.1 kB / 0.8004 GB, free: 19.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002811/1.37, allocations: 1.679 MB / 0.802 GB, free: 18.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/1.374, allocations: 2.774 MB / 0.8047 GB, free: 16.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/1.377, allocations: 2.195 MB / 0.8069 GB, free: 15.37 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-05/1.377, allocations: 15.12 kB / 0.8069 GB, free: 15.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=518) (initialization): time 0.009868/1.387, allocations: 5.804 MB / 0.8125 GB, free: 12.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.379e-05/1.387, allocations: 27.06 kB / 0.8126 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/1.387, allocations: 37.12 kB / 0.8126 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/1.389, allocations: 0.6576 MB / 0.8133 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/1.393, allocations: 0.9107 MB / 0.8141 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/1.405, allocations: 12.43 MB / 0.8263 GB, free: 2.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00395/1.408, allocations: 194.2 kB / 0.8265 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007009/1.409, allocations: 166.5 kB / 0.8266 GB, free: 2.203 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 151 * 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 (470): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(2,100.0%) 14,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00606/1.415, allocations: 2.176 MB / 0.8287 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001554/1.417, allocations: 418.8 kB / 0.8291 GB, free: 0.582 MB / 474.7 MB Warning: The linear system: 1 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] 2 : (-smpm3.is[3]) - smpm3.is[2] - smpm3.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ; smpm3.is[3] ] might be structurally or numerically singular for variable smpm3.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.01117/1.428, allocations: 5.343 MB / 0.8344 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/1.428, allocations: 32 kB / 0.8344 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-05/1.428, allocations: 12 kB / 0.8344 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-05/1.428, allocations: 26.77 kB / 0.8344 GB, free: 11.82 MB / 490.7 MB Warning: The linear system: 1 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] 2 : (-smpm3.is[3]) - smpm3.is[2] - smpm3.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ; smpm3.is[3] ] might be structurally or numerically singular for variable smpm3.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.02128/1.449, allocations: 12.05 MB / 0.8462 GB, free: 1.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/1.449, allocations: 4 kB / 0.8462 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/1.452, allocations: 0.5461 MB / 0.8467 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/1.454, allocations: 0.9408 MB / 0.8477 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/1.454, allocations: 83.78 kB / 0.8477 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.28/1.734, allocations: 19.7 MB / 0.867 GB, free: 60.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.734, allocations: 8.531 kB / 0.867 GB, free: 60.21 MB / 490.7 MB Warning: The linear system: 1 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] 2 : (-smpm3.is[3]) - smpm3.is[2] - smpm3.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smpm3.is[1] ; smpm3.is[2] ] = [ smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ; smpm3.is[3] ] might be structurally or numerically singular for variable smpm3.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.745, allocations: 8.105 MB / 0.8749 GB, free: 58.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00238/1.748, allocations: 0.8886 MB / 0.8758 GB, free: 58.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005443/1.748, allocations: 73.02 kB / 0.8758 GB, free: 58.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/1.75, allocations: 173.5 kB / 0.876 GB, free: 58.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004879/1.751, allocations: 244.3 kB / 0.8762 GB, free: 58.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.751, allocations: 101.1 kB / 0.8763 GB, free: 58.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003345/1.754, allocations: 2.456 MB / 0.8787 GB, free: 58.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.754, allocations: 0 / 0.8787 GB, free: 58.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004147/1.758, allocations: 1.355 MB / 0.8801 GB, free: 58.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.is[3],smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.stator.zeroInductor.i0,loadInertiaM.phi,loadInertia3.phi,vfController.x) * 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 (272): * Single equations (assignments): 264 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(4,93.8%) 33,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 14} * Non-linear torn systems: 0 Warning: The linear system: 1 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] 2 : (-smpm3.is[3]) - smpm3.is[2] - smpm3.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smpm3.is[1] ; smpm3.is[2] ] = [ smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ; smpm3.is[3] ] might be structurally or numerically singular for variable smpm3.is[2] 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.01159/1.77, allocations: 10.23 MB / 0.89 GB, free: 55.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006693/1.777, allocations: 5.258 MB / 0.8952 GB, free: 54.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.777, allocations: 3.594 kB / 0.8952 GB, free: 54.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004204/1.781, allocations: 3.425 MB / 0.8985 GB, free: 53.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/1.785, allocations: 1.049 MB / 0.8995 GB, free: 53.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07494/1.86, allocations: 62.77 MB / 0.9608 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004147/1.864, allocations: 4.551 MB / 0.9653 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003657/1.868, allocations: 0.9468 MB / 0.9662 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003079/1.871, allocations: 2.76 MB / 0.9689 GB, free: 10.57 MB / 490.7 MB Notification: Performance of SimCode: time 8.81e-07/1.871, allocations: 0 / 0.9689 GB, free: 10.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4384/2.31, allocations: 114.5 MB / 1.081 GB, free: 74.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/2.31, allocations: 287.1 kB / 1.081 GB, free: 74.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.28/7.59, allocations: 4.641 kB / 1.081 GB, free: 74.1 MB / 0.4948 GB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMPM_Inverter_Polyphase.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1)