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.001491/0.001491, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001543/0.001543, allocations: 188.3 kB / 24.49 MB, free: 3.941 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.333/1.333, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.001489/0.001489, allocations: 43.94 kB / 371.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 52.18 MB / 423.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01473/0.246, allocations: 11.94 MB / 435.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008989/0.255, allocations: 4.704 MB / 440 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.257, allocations: 95.44 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.2597, allocations: 1.025 MB / 441.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.2639, allocations: 1.447 MB / 442.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.2661, allocations: 0.9545 MB / 443.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005144/0.2713, allocations: 4.315 MB / 447.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.2738, allocations: 1.857 MB / 449.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.2765, allocations: 2.064 MB / 451.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003265/0.2798, allocations: 2.308 MB / 454.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008915/0.2807, allocations: 0.5352 MB / 454.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.2826, allocations: 0.9096 MB / 455.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.284, allocations: 1.379 MB / 456.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002548/0.2865, allocations: 1.859 MB / 458.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009289/0.2958, allocations: 7.408 MB / 466.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.2958, allocations: 8 kB / 466.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2958, allocations: 0 / 466.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001569/0.296, allocations: 0 / 466.2 MB, free: 3.32 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.01375/0.3097, allocations: 5.017 MB / 471.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3098, allocations: 16.03 kB / 471.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001325/0.3099, allocations: 104.6 kB / 471.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001189/0.3111, allocations: 0.5504 MB / 471.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00463/0.3157, allocations: 0.9077 MB / 472.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00535/0.3211, allocations: 2.748 MB / 475.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.3213, allocations: 258.9 kB / 475.8 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007115/0.322, allocations: 363.8 kB / 476.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008762/0.3308, allocations: 4.771 MB / 480.9 MB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.309e-05/0.3308, allocations: 7.953 kB / 480.9 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003416/0.3312, allocations: 136 kB / 481.1 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001863/0.3314, allocations: 158.9 kB / 481.2 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007251/0.3386, allocations: 3.97 MB / 485.2 MB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.3611, allocations: 12.77 MB / 498 MB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006286/0.3673, allocations: 3.033 MB / 0.4892 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003062/0.3704, allocations: 1.655 MB / 0.4909 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008022/0.3784, allocations: 3.947 MB / 0.4947 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.3785, allocations: 52.56 kB / 0.4948 GB, free: 10.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=191): time 4.889e-06/0.3785, allocations: 0 / 0.4948 GB, free: 10.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=280): time 0.0423/0.4208, allocations: 15.32 MB / 0.5097 GB, free: 11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.4209, allocations: 85.58 kB / 0.5098 GB, free: 10.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/0.4248, allocations: 2.62 MB / 0.5124 GB, free: 8.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003533/0.4251, allocations: 69.7 kB / 0.5124 GB, free: 8.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.4265, allocations: 1.656 MB / 0.5141 GB, free: 6.512 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009766/0.4275, allocations: 0.9837 MB / 0.515 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008008/0.4283, allocations: 453.6 kB / 0.5154 GB, free: 5.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4284, allocations: 313.1 kB / 0.5157 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.4309, allocations: 1.337 MB / 0.5171 GB, free: 3.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003038/0.4339, allocations: 1.807 MB / 0.5188 GB, free: 1.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006239/0.4401, allocations: 3.322 MB / 0.5221 GB, free: 13.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/0.4402, allocations: 4 kB / 0.5221 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009084/0.4492, allocations: 4.363 MB / 0.5263 GB, free: 9.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.4493, allocations: 15.94 kB / 0.5263 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/0.4493, allocations: 8 kB / 0.5263 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.4516, allocations: 0.8773 MB / 0.5272 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.4544, allocations: 0.55 MB / 0.5277 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2267/0.681, allocations: 13.13 MB / 0.5406 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.6834, allocations: 128.6 kB / 0.5407 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/0.6837, allocations: 107 kB / 0.5408 GB, free: 101.7 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.002387/0.6861, allocations: 1.248 MB / 0.542 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008601/0.687, allocations: 299 kB / 0.5423 GB, free: 101.5 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.003976/0.6909, allocations: 1.858 MB / 0.5441 GB, free: 100.7 MB / 446.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.9984704370144755] 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.6991075740661472 0.70967649 0.41148824599999995 Calling exit ...