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.001529/0.001529, allocations: 121 kB / 18.5 MB, free: 4.562 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.001639/0.001639, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.43/1.43, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.001532/0.001532, allocations: 55.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.1004, allocations: 53.34 MB / 427.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01809/0.1185, allocations: 14.33 MB / 441.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.129, allocations: 5.382 MB / 446.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.1313, allocations: 103.4 kB / 446.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1985/0.3298, allocations: 1.09 MB / 448 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005413/0.3352, allocations: 1.47 MB / 449.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.338, allocations: 1.019 MB / 450.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006254/0.3443, allocations: 4.355 MB / 454.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004144/0.3484, allocations: 2.348 MB / 457.2 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00449/0.3529, allocations: 2.072 MB / 459.2 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005644/0.3585, allocations: 2.44 MB / 461.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00157/0.3601, allocations: 0.5355 MB / 462.2 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/0.3635, allocations: 0.932 MB / 463.1 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.3651, allocations: 1.384 MB / 464.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003832/0.3689, allocations: 2.36 MB / 466.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009174/0.3781, allocations: 7.423 MB / 474.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3781, allocations: 3.938 kB / 474.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3781, allocations: 0 / 474.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00023/0.3783, allocations: 1.344 kB / 474.3 MB, free: 1.059 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.01584/0.3942, allocations: 5.138 MB / 479.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.3942, allocations: 9.594 kB / 479.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001934/0.3944, allocations: 121.7 kB / 479.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001424/0.3958, allocations: 0.5435 MB / 480.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/0.4015, allocations: 0.9236 MB / 481.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007021/0.4085, allocations: 2.845 MB / 483.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.4088, allocations: 260.7 kB / 484.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.41, allocations: 353 kB / 484.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.4215, allocations: 4.63 MB / 489.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.4217, allocations: 6.672 kB / 489.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008489/0.4225, allocations: 139.1 kB / 489.3 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.4227, allocations: 164.9 kB / 489.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009559/0.4323, allocations: 3.983 MB / 493.4 MB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03288/0.4652, allocations: 14.21 MB / 0.4957 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009445/0.4746, allocations: 6.901 MB / 0.5025 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00394/0.4786, allocations: 1.668 MB / 0.5041 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.4893, allocations: 4.848 MB / 0.5088 GB, free: 8.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/0.4894, allocations: 56.55 kB / 0.5089 GB, free: 8.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=191): time 4.919e-06/0.4894, allocations: 0 / 0.5089 GB, free: 8.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=280): time 0.05034/0.5397, allocations: 15.78 MB / 0.5243 GB, free: 8.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.5398, allocations: 77.58 kB / 0.5244 GB, free: 8.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005959/0.5457, allocations: 2.665 MB / 0.527 GB, free: 5.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005436/0.5463, allocations: 73.7 kB / 0.527 GB, free: 5.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.5481, allocations: 1.669 MB / 0.5287 GB, free: 3.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001312/0.5494, allocations: 0.985 MB / 0.5296 GB, free: 2.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/0.5508, allocations: 456.3 kB / 0.5301 GB, free: 2.496 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5509, allocations: 305.1 kB / 0.5304 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.5539, allocations: 1.34 MB / 0.5317 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/0.5574, allocations: 1.786 MB / 0.5334 GB, free: 14.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007078/0.5644, allocations: 3.329 MB / 0.5367 GB, free: 11.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/0.5645, allocations: 4 kB / 0.5367 GB, free: 11.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01101/0.5755, allocations: 4.366 MB / 0.5409 GB, free: 6.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.5755, allocations: 8 kB / 0.5409 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-05/0.5755, allocations: 15.94 kB / 0.5409 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/0.5781, allocations: 0.8761 MB / 0.5418 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.581, allocations: 0.55 MB / 0.5423 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/0.5992, allocations: 13.75 MB / 0.5558 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.602, allocations: 123.8 kB / 0.5559 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005351/0.6025, allocations: 119.2 kB / 0.556 GB, free: 6.996 MB / 462.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.002988/0.6055, allocations: 1.247 MB / 0.5572 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/0.6066, allocations: 306 kB / 0.5575 GB, free: 5.438 MB / 462.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.004801/0.6114, allocations: 1.862 MB / 0.5593 GB, free: 3.551 MB / 462.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.0558695339714177] 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.6199543820112012 0.6354867719999999 0.25411051700000004 Calling exit ...