Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMEE_Generator_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMEE_Generator_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 93.5 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 198.3 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002118/0.0002119, allocations: 8 kB / 306.7 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.102, allocations: 51.49 MB / 358.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.2059/0.3079, allocations: 24.54 MB / 382.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01896/0.3269, allocations: 8.31 MB / 391.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007699/0.3347, allocations: 176.1 kB / 391.2 MB, free: 3.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006422/0.3411, allocations: 1.453 MB / 392.7 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01287/0.354, allocations: 2.527 MB / 395.2 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006432/0.3605, allocations: 1.184 MB / 396.4 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01841/0.3789, allocations: 7.104 MB / 403.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/0.3914, allocations: 6.25 MB / 409.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006834/0.3982, allocations: 3.202 MB / 413 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007969/0.4062, allocations: 3.894 MB / 416.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003142/0.4094, allocations: 0.5352 MB / 417.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005107/0.4146, allocations: 0.8472 MB / 418.2 MB, free: 336 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003946/0.4185, allocations: 1.943 MB / 420.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004459/0.423, allocations: 1.899 MB / 422.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02123/0.4443, allocations: 14.37 MB / 436.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4444, allocations: 4 kB / 436.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.4444, allocations: 0 / 436.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000635/0.445, allocations: 0 / 436.5 MB, free: 14.05 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02992/0.4749, allocations: 9.342 MB / 445.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.475, allocations: 12.03 kB / 445.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004585/0.4796, allocations: 1.173 MB / 447 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/0.4933, allocations: 2.182 MB / 449.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.5073, allocations: 5.674 MB / 454.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007754/0.5081, allocations: 0.646 MB / 455.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/0.5108, allocations: 0.8475 MB / 456.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02876/0.5395, allocations: 11.35 MB / 467.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004295/0.54, allocations: 15.84 kB / 467.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002651/0.5427, allocations: 356 kB / 468 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000529/0.5433, allocations: 373.5 kB / 468.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02561/0.5689, allocations: 9.696 MB / 478.1 MB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07739/0.6463, allocations: 36.17 MB / 0.5022 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01968/0.6661, allocations: 18.13 MB / 0.5199 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3743/1.04, allocations: 10.37 MB / 0.53 GB, free: 130.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.219e-05/1.04, allocations: 73 kB / 0.5301 GB, free: 130.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=324): time 6.462e-06/1.041, allocations: 0 / 0.5301 GB, free: 130.2 MB / 446.1 MB Warning: The linear system: 1 : 3.0 * smee3.stator.zeroInductor.i0 = smee3.is[1] + smee3.is[2] + smee3.is[3] 2 : (-smee3.is[3]) - smee3.is[2] - smee3.is[1] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ smee3.is[2] ; smee3.is[1] ] = [ smee3.is[3] + (-3.0) * smee3.stator.zeroInductor.i0 ; smee3.is[3] ] might be structurally or numerically singular for variable smee3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=429): time 0.04835/1.089, allocations: 20.3 MB / 0.5499 GB, free: 124.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/1.089, allocations: 98.08 kB / 0.55 GB, free: 124.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006793/1.096, allocations: 4.436 MB / 0.5544 GB, free: 122.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006754/1.096, allocations: 98.77 kB / 0.5545 GB, free: 122.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002446/1.099, allocations: 3.863 MB / 0.5582 GB, free: 119.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001391/1.1, allocations: 1.453 MB / 0.5597 GB, free: 118.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/1.101, allocations: 107.5 kB / 0.5598 GB, free: 118.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/1.101, allocations: 0.493 MB / 0.5602 GB, free: 118.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003381/1.104, allocations: 2.306 MB / 0.5625 GB, free: 117.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00386/1.108, allocations: 3.732 MB / 0.5661 GB, free: 114.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003848/1.112, allocations: 2.943 MB / 0.569 GB, free: 113.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/1.112, allocations: 15.12 kB / 0.569 GB, free: 113.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=646) (initialization): time 0.01265/1.125, allocations: 7.944 MB / 0.5768 GB, free: 108.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/1.125, allocations: 24 kB / 0.5768 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.066e-05/1.125, allocations: 48.8 kB / 0.5769 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002537/1.127, allocations: 1.226 MB / 0.578 GB, free: 107.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004163/1.131, allocations: 1.127 MB / 0.5791 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.147, allocations: 18.06 MB / 0.5968 GB, free: 87.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/1.152, allocations: 294.2 kB / 0.5971 GB, free: 87.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007085/1.153, allocations: 218.2 kB / 0.5973 GB, free: 87.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 200 * 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 (549): * Single equations (assignments): 539 * Array equations: 2 * 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%) 13,(1,100.0%) 5,(4,93.8%) 33,(2,100.0%) 13,(3,88.9%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00507/1.158, allocations: 2.621 MB / 0.5998 GB, free: 84.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/1.159, allocations: 0.5017 MB / 0.6003 GB, free: 84.15 MB / 446.1 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 430 equation(s) and 431 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004849/1.164, allocations: 2.97 MB / 0.6032 GB, free: 81.17 MB / 446.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.