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.001251/0.001251, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.001234/0.001234, allocations: 189 kB / 21.43 MB, free: 1.641 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.356/1.356, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.00159/0.00159, allocations: 43.94 kB / 366.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09614, allocations: 52.15 MB / 418.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01645/0.1126, allocations: 13.69 MB / 432.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009209/0.1218, allocations: 4.984 MB / 437.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.1238, allocations: 95.44 kB / 437.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.1269, allocations: 1.087 MB / 438.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004252/0.1311, allocations: 1.453 MB / 439.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.1337, allocations: 0.9731 MB / 440.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005742/0.1395, allocations: 4.305 MB / 445.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1932/0.3327, allocations: 2.332 MB / 447.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.3358, allocations: 2.066 MB / 449.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.3389, allocations: 2.308 MB / 451.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.3402, allocations: 0.5347 MB / 452.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.3428, allocations: 0.9373 MB / 453.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.3442, allocations: 1.377 MB / 454.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003076/0.3473, allocations: 2.349 MB / 457 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009299/0.3566, allocations: 7.388 MB / 464.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.3566, allocations: 1.062 kB / 464.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3566, allocations: 0 / 464.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002422/0.3569, allocations: 0 / 464.4 MB, free: 6.945 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.01483/0.3717, allocations: 5.096 MB / 469.5 MB, free: 4.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.3718, allocations: 15.92 kB / 469.5 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001737/0.3719, allocations: 103.9 kB / 469.6 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001282/0.3732, allocations: 0.5479 MB / 470.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.3783, allocations: 0.9048 MB / 471.1 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006412/0.3847, allocations: 2.811 MB / 473.9 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/0.385, allocations: 261.4 kB / 474.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/0.3863, allocations: 350.6 kB / 474.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.3976, allocations: 4.619 MB / 479.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.3977, allocations: 10.97 kB / 479.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006077/0.3983, allocations: 140.9 kB / 479.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/0.3985, allocations: 159.5 kB / 479.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00846/0.4069, allocations: 3.979 MB / 483.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.4339, allocations: 14.2 MB / 497.6 MB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008198/0.442, allocations: 6.898 MB / 0.4927 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00318/0.4452, allocations: 1.661 MB / 0.4943 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008285/0.4535, allocations: 4.579 MB / 0.4988 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.4536, allocations: 56.55 kB / 0.4988 GB, free: 4.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=191): time 4.609e-06/0.4536, allocations: 0 / 0.4988 GB, free: 4.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=280): time 0.0443/0.4979, allocations: 15.71 MB / 0.5142 GB, free: 4.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.4979, allocations: 77.58 kB / 0.5142 GB, free: 4.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/0.5023, allocations: 2.62 MB / 0.5168 GB, free: 1.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004326/0.5028, allocations: 73.7 kB / 0.5169 GB, free: 1.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.5042, allocations: 1.658 MB / 0.5185 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.5053, allocations: 0.9798 MB / 0.5194 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008451/0.5061, allocations: 457.4 kB / 0.5199 GB, free: 14.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5062, allocations: 304.1 kB / 0.5202 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.5088, allocations: 1.34 MB / 0.5215 GB, free: 12.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002892/0.5117, allocations: 1.781 MB / 0.5232 GB, free: 10.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00588/0.5176, allocations: 3.328 MB / 0.5265 GB, free: 7.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.5176, allocations: 4 kB / 0.5265 GB, free: 7.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008831/0.5264, allocations: 4.364 MB / 0.5307 GB, free: 3.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5264, allocations: 8 kB / 0.5307 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.5265, allocations: 12 kB / 0.5307 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/0.5288, allocations: 0.8847 MB / 0.5316 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/0.5314, allocations: 0.5467 MB / 0.5321 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/0.548, allocations: 13.77 MB / 0.5456 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.5508, allocations: 131.5 kB / 0.5457 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004276/0.5512, allocations: 104 kB / 0.5458 GB, free: 3.262 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.002685/0.5539, allocations: 1.244 MB / 0.547 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008233/0.5547, allocations: 298.1 kB / 0.5473 GB, free: 1.742 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.004079/0.5588, allocations: 1.862 MB / 0.5491 GB, free: 15.86 MB / 462.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.9059220860362984] 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.5662795049720444 0.5788599839999999 0.21930766999999995 Calling exit ...