Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00186/0.00186, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002336/0.002336, allocations: 217.6 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2376, allocations: 53.39 MB / 432 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01755/0.2551, allocations: 14.39 MB / 446.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.2662, allocations: 5.412 MB / 451.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.2689, allocations: 103.4 kB / 451.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003641/0.2725, allocations: 1.091 MB / 453 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005514/0.278, allocations: 1.499 MB / 454.5 MB, free: 120 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.2814, allocations: 1.038 MB / 455.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006356/0.2877, allocations: 4.387 MB / 459.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.2914, allocations: 1.861 MB / 461.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.2947, allocations: 2.076 MB / 463.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004181/0.2989, allocations: 2.444 MB / 466.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.3005, allocations: 0.5312 MB / 466.8 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.3036, allocations: 0.9837 MB / 467.8 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002099/0.3057, allocations: 1.383 MB / 469.2 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004264/0.31, allocations: 2.36 MB / 471.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.3206, allocations: 7.421 MB / 479 MB, free: 7.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3206, allocations: 0 / 479 MB, free: 7.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3206, allocations: 11.88 kB / 479 MB, free: 7.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001961/0.3208, allocations: 0 / 479 MB, free: 7.492 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01556/0.3364, allocations: 5.064 MB / 484.1 MB, free: 2.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.3364, allocations: 8.031 kB / 484.1 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001603/0.3366, allocations: 116.6 kB / 484.2 MB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001724/0.3383, allocations: 0.5505 MB / 484.7 MB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005472/0.3438, allocations: 0.9154 MB / 485.7 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007726/0.3515, allocations: 2.788 MB / 488.4 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.3518, allocations: 262.8 kB / 488.7 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/0.3532, allocations: 359.9 kB / 489.1 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.3655, allocations: 4.617 MB / 493.7 MB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/0.3656, allocations: 15.95 kB / 493.7 MB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007991/0.3664, allocations: 136 kB / 493.8 MB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002143/0.3666, allocations: 162.8 kB / 494 MB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008935/0.3756, allocations: 3.974 MB / 497.9 MB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02755/0.4031, allocations: 14.03 MB / 0.5 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006976/0.4101, allocations: 3.046 MB / 0.503 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003514/0.4136, allocations: 1.659 MB / 0.5046 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009802/0.4234, allocations: 4.386 MB / 0.5089 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.4235, allocations: 48.56 kB / 0.5089 GB, free: 12.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=191): time 4.538e-06/0.4235, allocations: 8 kB / 0.5089 GB, free: 12.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=280): time 0.04657/0.47, allocations: 15.41 MB / 0.524 GB, free: 13.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.4701, allocations: 81.58 kB / 0.524 GB, free: 13.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/0.4741, allocations: 2.657 MB / 0.5266 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003976/0.4745, allocations: 69.7 kB / 0.5267 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.4758, allocations: 1.671 MB / 0.5283 GB, free: 8.902 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009785/0.4768, allocations: 0.9875 MB / 0.5293 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007963/0.4776, allocations: 457.7 kB / 0.5297 GB, free: 7.453 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4777, allocations: 305.1 kB / 0.53 GB, free: 7.152 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/0.4802, allocations: 1.336 MB / 0.5313 GB, free: 5.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/0.4832, allocations: 1.786 MB / 0.5331 GB, free: 3.867 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005783/0.489, allocations: 3.322 MB / 0.5363 GB, free: 372 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.489, allocations: 4 kB / 0.5363 GB, free: 368 kB / 446.1 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.2004/0.6893, allocations: 4.367 MB / 0.5406 GB, free: 98.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.6894, allocations: 15.81 kB / 0.5406 GB, free: 98.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.6894, allocations: 9.547 kB / 0.5406 GB, free: 98.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.6916, allocations: 0.8845 MB / 0.5415 GB, free: 98.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/0.6943, allocations: 0.5478 MB / 0.542 GB, free: 98.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.7072, allocations: 13.33 MB / 0.555 GB, free: 89.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/0.7097, allocations: 132.1 kB / 0.5551 GB, free: 89.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000408/0.7101, allocations: 111.2 kB / 0.5553 GB, free: 89.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (259): * Single equations (assignments): 251 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,6,100.0%), (1,6,100.0%), (2,25,100.0%), (7,34,63.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002041/0.7121, allocations: 1.239 MB / 0.5565 GB, free: 88.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006463/0.7127, allocations: 301.3 kB / 0.5568 GB, free: 88.37 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 280 equation(s) and 282 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.7159, allocations: 1.874 MB / 0.5586 GB, free: 87.49 MB / 446.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.226312572020106] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.x', 'aimc.airGap.V_mrr.im', 'aimc.airGap.V_mrr.re', 'aimc.airGap.V_msr.im', 'aimc.airGap.V_msr.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.core.Phi.im', 'aimc.stator.core.Phi.re', 'aimc.stator.port_p.V_m.im', 'aimc.stator.port_p.V_m.re', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.w', 'powerSensor.flange_a.phi'] 0.7234841950121336 0.734589172 0.41115833700000004 Calling exit ...