Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_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.SMR_Inverter_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_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.001174/0.001174, 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.306/1.306, allocations: 227.2 MB / 245 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008201/0.0008201, allocations: 108.3 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002378/0.000238, allocations: 4 kB / 358 MB, free: 9.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2337, allocations: 51.49 MB / 409.5 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.5906, allocations: 116.8 MB / 0.514 GB, free: 46.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5909, allocations: 105.8 kB / 0.5141 GB, free: 46.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3539/0.9449, allocations: 165.5 MB / 0.6757 GB, free: 2.078 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.9449, allocations: 0 / 0.6757 GB, free: 2.078 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006525/0.9456, allocations: 171.8 kB / 0.6759 GB, free: 1.91 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.2592/1.205, allocations: 7.078 MB / 0.6828 GB, free: 47.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.205, allocations: 7.812 kB / 0.6828 GB, free: 47.21 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005101/1.21, allocations: 0.9687 MB / 0.6837 GB, free: 47.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/1.22, allocations: 1.529 MB / 0.6852 GB, free: 46.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/1.237, allocations: 5.823 MB / 0.6909 GB, free: 46.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006084/1.238, allocations: 0.511 MB / 0.6914 GB, free: 46.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002702/1.241, allocations: 0.6811 MB / 0.6921 GB, free: 46.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02172/1.262, allocations: 9.201 MB / 0.7011 GB, free: 45.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003027/1.263, allocations: 11.59 kB / 0.7011 GB, free: 45.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001701/1.264, allocations: 295.8 kB / 0.7014 GB, free: 45.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/1.265, allocations: 321.6 kB / 0.7017 GB, free: 45.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/1.281, allocations: 7.574 MB / 0.7091 GB, free: 45.42 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05965/1.34, allocations: 29.02 MB / 0.7374 GB, free: 40.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01332/1.354, allocations: 17.76 MB / 0.7547 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/1.367, allocations: 6.992 MB / 0.7616 GB, free: 21.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/1.368, allocations: 66.42 kB / 0.7616 GB, free: 21.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=275): time 6.062e-06/1.368, allocations: 0 / 0.7616 GB, free: 21.23 MB / 458.7 MB Warning: The linear system: 1 : 3.0 * smr3.stator.zeroInductor.i0 = smr3.is[1] + smr3.is[2] + smr3.is[3] 2 : (-smr3.is[3]) - smr3.is[2] - smr3.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smr3.is[1] ; smr3.is[2] ] = [ smr3.is[3] + (-3.0) * smr3.stator.zeroInductor.i0 ; smr3.is[3] ] might be structurally or numerically singular for variable smr3.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=370): time 0.03729/1.405, allocations: 17.42 MB / 0.7786 GB, free: 29.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/1.405, allocations: 93.06 kB / 0.7787 GB, free: 29.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005386/1.41, allocations: 2.952 MB / 0.7816 GB, free: 28.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004543/1.411, allocations: 91.36 kB / 0.7817 GB, free: 28.15 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001681/1.413, allocations: 3.012 MB / 0.7846 GB, free: 25.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009173/1.413, allocations: 1.25 MB / 0.7859 GB, free: 24.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/1.414, allocations: 86.25 kB / 0.786 GB, free: 24.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002501/1.414, allocations: 474.2 kB / 0.7864 GB, free: 24.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/1.417, allocations: 1.903 MB / 0.7883 GB, free: 23.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/1.42, allocations: 2.915 MB / 0.7911 GB, free: 21.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/1.423, allocations: 2.437 MB / 0.7935 GB, free: 20.61 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.456e-05/1.423, allocations: 11.22 kB / 0.7935 GB, free: 20.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.009631/1.433, allocations: 6.679 MB / 0.8 GB, free: 17.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/1.433, allocations: 18.81 kB / 0.8 GB, free: 17.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.635e-05/1.433, allocations: 28.97 kB / 0.8001 GB, free: 17.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/1.436, allocations: 1.237 MB / 0.8013 GB, free: 17.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/1.439, allocations: 0.8697 MB / 0.8021 GB, free: 17.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/1.459, allocations: 20.5 MB / 0.8221 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/1.463, allocations: 198.6 kB / 0.8223 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007073/1.464, allocations: 172.5 kB / 0.8225 GB, free: 1.328 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 (436): * Single equations (assignments): 426 * 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: 8 * 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: 8 {(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(4,93.8%) 33,(2,100.0%) 12,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00525/1.469, allocations: 2.19 MB / 0.8246 GB, free: 0 / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.47, allocations: 404.6 kB / 0.825 GB, free: 15.6 MB / 490.7 MB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too few equations, under-determined system. The model has 384 equation(s) and 385 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0052/1.475, allocations: 2.541 MB / 0.8275 GB, free: 13.41 MB / 490.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.