Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_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_1_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.001435/0.001435, allocations: 43.92 kB / 378.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2363, allocations: 53.36 MB / 432 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01731/0.2536, allocations: 14.39 MB / 446.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.2642, allocations: 5.409 MB / 451.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.2664, allocations: 99.38 kB / 451.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002629/0.269, allocations: 1.107 MB / 453 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.2729, allocations: 1.488 MB / 454.5 MB, free: 280 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.2752, allocations: 1.04 MB / 455.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00474/0.2799, allocations: 4.387 MB / 459.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.2823, allocations: 1.857 MB / 461.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.2847, allocations: 2.08 MB / 463.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/0.2879, allocations: 2.437 MB / 466.3 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006803/0.2886, allocations: 0.539 MB / 466.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.2902, allocations: 0.9876 MB / 467.8 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.2915, allocations: 1.383 MB / 469.2 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002292/0.2937, allocations: 2.357 MB / 471.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008077/0.3018, allocations: 7.42 MB / 478.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3018, allocations: 0 / 478.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3018, allocations: 0 / 478.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001163/0.3019, allocations: 0 / 478.9 MB, free: 7.648 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.01168/0.3136, allocations: 5.068 MB / 484 MB, free: 2.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3137, allocations: 8.031 kB / 484 MB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001291/0.3138, allocations: 116.5 kB / 484.1 MB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008436/0.3146, allocations: 0.5504 MB / 484.7 MB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.3191, allocations: 0.9154 MB / 485.6 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005453/0.3246, allocations: 2.787 MB / 488.4 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.3248, allocations: 254.9 kB / 488.6 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005713/0.3254, allocations: 359.9 kB / 489 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007727/0.3331, allocations: 4.617 MB / 493.6 MB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.243e-05/0.3332, allocations: 15.88 kB / 493.6 MB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/0.3335, allocations: 148 kB / 493.8 MB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/0.3337, allocations: 158.9 kB / 493.9 MB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006912/0.3406, allocations: 3.974 MB / 497.9 MB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02231/0.3629, allocations: 14.04 MB / 0.4999 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006406/0.3693, allocations: 3.054 MB / 0.5029 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/0.3723, allocations: 1.655 MB / 0.5045 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007974/0.3803, allocations: 4.382 MB / 0.5088 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.3804, allocations: 52.56 kB / 0.5089 GB, free: 13.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=191): time 3.247e-06/0.3804, allocations: 0 / 0.5089 GB, free: 13.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=280): time 0.04097/0.4213, allocations: 15.41 MB / 0.5239 GB, free: 13.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.4214, allocations: 77.58 kB / 0.524 GB, free: 13.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003807/0.4252, allocations: 2.654 MB / 0.5266 GB, free: 10.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.4254, allocations: 73.7 kB / 0.5266 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.4268, allocations: 1.675 MB / 0.5283 GB, free: 9.055 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008595/0.4276, allocations: 0.9876 MB / 0.5292 GB, free: 8.059 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007971/0.4284, allocations: 453.7 kB / 0.5297 GB, free: 7.609 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4286, allocations: 301.1 kB / 0.53 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/0.431, allocations: 1.337 MB / 0.5313 GB, free: 5.973 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/0.4338, allocations: 1.794 MB / 0.533 GB, free: 4.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005694/0.4395, allocations: 3.334 MB / 0.5363 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.4395, allocations: 4 kB / 0.5363 GB, free: 0.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.1846/0.6241, allocations: 4.365 MB / 0.5405 GB, free: 98.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.6241, allocations: 13.27 kB / 0.5406 GB, free: 98.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.6242, allocations: 7.812 kB / 0.5406 GB, free: 98.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/0.6261, allocations: 0.8752 MB / 0.5414 GB, free: 97.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/0.6284, allocations: 0.5464 MB / 0.542 GB, free: 97.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.6397, allocations: 13.34 MB / 0.555 GB, free: 88.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.6415, allocations: 126.7 kB / 0.5551 GB, free: 88.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/0.6417, allocations: 112.6 kB / 0.5552 GB, free: 88.23 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.001533/0.6432, allocations: 1.243 MB / 0.5564 GB, free: 87.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.6436, allocations: 305.3 kB / 0.5567 GB, free: 87.57 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.002713/0.6464, allocations: 1.86 MB / 0.5585 GB, free: 86.7 MB / 446.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.068303408974316] 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.6529164349776693 0.661637786 0.35767266 Calling exit ...