Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001691/0.001691, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001955, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_trunk_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_trunk_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.001885/0.001885, allocations: 56.05 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1045, allocations: 53.38 MB / 427.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2139/0.3184, allocations: 14.33 MB / 441.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.3298, allocations: 5.384 MB / 446.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.3333, allocations: 99.69 kB / 446.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.3374, allocations: 1.098 MB / 448 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.3436, allocations: 1.477 MB / 449.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.3472, allocations: 1.012 MB / 450.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007799/0.355, allocations: 4.374 MB / 454.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004891/0.3599, allocations: 2.346 MB / 457.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004699/0.3646, allocations: 2.073 MB / 459.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005387/0.37, allocations: 2.436 MB / 461.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002169/0.3722, allocations: 0.5344 MB / 462.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/0.376, allocations: 0.9302 MB / 463.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002966/0.379, allocations: 1.384 MB / 464.6 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006408/0.3854, allocations: 2.359 MB / 466.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.4009, allocations: 7.423 MB / 474.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.4009, allocations: 4 kB / 474.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4009, allocations: 0 / 474.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003227/0.4013, allocations: 2.625 kB / 474.4 MB, free: 15.68 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.02/0.4213, allocations: 5.134 MB / 479.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4213, allocations: 12.03 kB / 479.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002035/0.4215, allocations: 108.6 kB / 479.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001903/0.4234, allocations: 0.5483 MB / 480.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006095/0.4295, allocations: 0.9238 MB / 481.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007543/0.4371, allocations: 2.844 MB / 483.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/0.4374, allocations: 266.8 kB / 484.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/0.4387, allocations: 347.9 kB / 484.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.4519, allocations: 4.633 MB / 489.2 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001683/0.452, allocations: 7.953 kB / 489.2 MB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001079/0.4531, allocations: 140 kB / 489.3 MB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/0.4534, allocations: 156.3 kB / 489.5 MB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.4639, allocations: 3.979 MB / 493.4 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03523/0.4991, allocations: 14.22 MB / 0.4958 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009509/0.5086, allocations: 6.912 MB / 0.5025 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/0.5123, allocations: 1.655 MB / 0.5041 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.5233, allocations: 4.847 MB / 0.5089 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.5233, allocations: 56.5 kB / 0.5089 GB, free: 1.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=191): time 5.22e-06/0.5233, allocations: 0 / 0.5089 GB, free: 1.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=280): time 0.04892/0.5722, allocations: 15.77 MB / 0.5243 GB, free: 1.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.5723, allocations: 81.58 kB / 0.5244 GB, free: 1.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005582/0.5779, allocations: 2.669 MB / 0.527 GB, free: 14.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004839/0.5784, allocations: 69.7 kB / 0.5271 GB, free: 14.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.5799, allocations: 1.671 MB / 0.5287 GB, free: 12.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001184/0.5811, allocations: 0.9875 MB / 0.5297 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.5823, allocations: 457.6 kB / 0.5301 GB, free: 11.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5824, allocations: 301.1 kB / 0.5304 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/0.5853, allocations: 1.348 MB / 0.5317 GB, free: 9.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/0.5885, allocations: 1.782 MB / 0.5334 GB, free: 7.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006408/0.5949, allocations: 3.318 MB / 0.5367 GB, free: 4.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/0.595, allocations: 4 kB / 0.5367 GB, free: 4.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009634/0.6046, allocations: 4.371 MB / 0.541 GB, free: 15.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.6046, allocations: 12 kB / 0.541 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.6047, allocations: 8 kB / 0.541 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/0.6072, allocations: 0.88 MB / 0.5418 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/0.61, allocations: 0.5538 MB / 0.5424 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/0.6283, allocations: 13.77 MB / 0.5558 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/0.6311, allocations: 123.9 kB / 0.5559 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005457/0.6317, allocations: 104 kB / 0.556 GB, free: 15.65 MB / 478.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.002991/0.6347, allocations: 1.258 MB / 0.5573 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/0.6358, allocations: 298.1 kB / 0.5576 GB, free: 14.09 MB / 478.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.004657/0.6405, allocations: 1.854 MB / 0.5594 GB, free: 12.21 MB / 478.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.19629035203252] 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.6487877069739625 0.6633025570000001 0.259014733 Calling exit ...