Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 108.6 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 183.5 kB / 24.5 MB, free: 4.094 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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.001426/0.001426, allocations: 43.94 kB / 371.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2327, allocations: 52.19 MB / 423.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01663/0.2494, allocations: 13.74 MB / 437.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009685/0.259, allocations: 5.011 MB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.2612, allocations: 99.44 kB / 442.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.2642, allocations: 1.076 MB / 443.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004196/0.2684, allocations: 1.472 MB / 444.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.2707, allocations: 0.9883 MB / 445.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005214/0.276, allocations: 4.316 MB / 450.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.2785, allocations: 1.857 MB / 452 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.2814, allocations: 2.06 MB / 454.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.2848, allocations: 2.308 MB / 456.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008164/0.2856, allocations: 0.5352 MB / 456.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.2875, allocations: 1.003 MB / 457.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.2887, allocations: 1.379 MB / 459.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002525/0.2912, allocations: 2.349 MB / 461.7 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008244/0.2995, allocations: 7.377 MB / 469 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2995, allocations: 0 / 469 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2995, allocations: 0 / 469 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001586/0.2996, allocations: 0 / 469 MB, free: 0.8125 MB / 366.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.01205/0.3117, allocations: 5.033 MB / 474.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3117, allocations: 8.031 kB / 474.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000124/0.3119, allocations: 112.5 kB / 474.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000866/0.3127, allocations: 0.5543 MB / 474.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004392/0.3171, allocations: 0.8999 MB / 475.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005675/0.3228, allocations: 2.756 MB / 478.4 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.323, allocations: 258.9 kB / 478.6 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006637/0.3237, allocations: 347.9 kB / 479 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008671/0.3323, allocations: 4.629 MB / 483.6 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.879e-05/0.3324, allocations: 11.94 kB / 483.6 MB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003283/0.3328, allocations: 136 kB / 483.8 MB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.3329, allocations: 158.9 kB / 483.9 MB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007593/0.3405, allocations: 3.97 MB / 487.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02612/0.3667, allocations: 14.02 MB / 0.4901 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006867/0.3735, allocations: 3.049 MB / 0.4931 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003332/0.3769, allocations: 1.651 MB / 0.4947 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009108/0.386, allocations: 4.343 MB / 0.499 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.386, allocations: 56.5 kB / 0.499 GB, free: 6.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=191): time 4.789e-06/0.386, allocations: 0 / 0.499 GB, free: 6.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=280): time 0.04472/0.4307, allocations: 15.33 MB / 0.514 GB, free: 6.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.4308, allocations: 81.58 kB / 0.5141 GB, free: 6.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00451/0.4353, allocations: 2.627 MB / 0.5167 GB, free: 4.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003304/0.4357, allocations: 69.7 kB / 0.5167 GB, free: 4.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.437, allocations: 1.663 MB / 0.5183 GB, free: 2.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.4382, allocations: 0.9798 MB / 0.5193 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009948/0.4392, allocations: 457.6 kB / 0.5197 GB, free: 1.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4393, allocations: 313 kB / 0.52 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/0.4421, allocations: 1.337 MB / 0.5213 GB, free: 15.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/0.4452, allocations: 1.782 MB / 0.5231 GB, free: 13.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006183/0.4514, allocations: 3.326 MB / 0.5263 GB, free: 9.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/0.4514, allocations: 4 kB / 0.5263 GB, free: 9.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009238/0.4607, allocations: 4.352 MB / 0.5306 GB, free: 5.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.4607, allocations: 11.94 kB / 0.5306 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/0.4607, allocations: 15.94 kB / 0.5306 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/0.4632, allocations: 0.8819 MB / 0.5315 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.4658, allocations: 0.55 MB / 0.532 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.203/0.6688, allocations: 13.33 MB / 0.545 GB, free: 98.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.6709, allocations: 128.8 kB / 0.5451 GB, free: 98.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.6711, allocations: 107.6 kB / 0.5452 GB, free: 98.07 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%), (8,33,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001786/0.6729, allocations: 1.24 MB / 0.5465 GB, free: 97.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004769/0.6734, allocations: 305.9 kB / 0.5467 GB, free: 97.43 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.002855/0.6762, allocations: 1.854 MB / 0.5486 GB, free: 96.55 MB / 446.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.0132606560364366] 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.6832846220349893 0.693057779 0.391252383 Calling exit ...