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.001631/0.001631, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001729/0.001729, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.399/1.399, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.00191/0.00191, allocations: 67.88 kB / 378.6 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2529, allocations: 53.41 MB / 432 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01621/0.2691, allocations: 12.48 MB / 444.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.2802, allocations: 5.082 MB / 449.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003655/0.2839, allocations: 103.4 kB / 449.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.2875, allocations: 1.037 MB / 450.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.2927, allocations: 1.468 MB / 452.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.2958, allocations: 1.012 MB / 453.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006395/0.3022, allocations: 4.385 MB / 457.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004154/0.3063, allocations: 1.861 MB / 459.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/0.3102, allocations: 2.072 MB / 461.5 MB, free: 8.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004732/0.315, allocations: 2.448 MB / 463.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001767/0.3167, allocations: 0.5352 MB / 464.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.32, allocations: 0.9213 MB / 465.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002329/0.3224, allocations: 1.371 MB / 466.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003897/0.3262, allocations: 1.859 MB / 468.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.3373, allocations: 7.451 MB / 476 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3373, allocations: 11.94 kB / 476.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3373, allocations: 0 / 476.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002476/0.3375, allocations: 0 / 476.1 MB, free: 10.14 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.01537/0.3529, allocations: 5.064 MB / 481.1 MB, free: 5.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.353, allocations: 12.03 kB / 481.1 MB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001719/0.3531, allocations: 112.6 kB / 481.2 MB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00179/0.3549, allocations: 0.5388 MB / 481.8 MB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005893/0.3608, allocations: 0.9232 MB / 482.7 MB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007278/0.3681, allocations: 2.784 MB / 485.5 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/0.3684, allocations: 266.8 kB / 485.7 MB, free: 300 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.3697, allocations: 347.9 kB / 486.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.3823, allocations: 4.779 MB / 490.9 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/0.3825, allocations: 7.953 kB / 490.9 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008362/0.3833, allocations: 144 kB / 491 MB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.3835, allocations: 158.9 kB / 491.2 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009198/0.3927, allocations: 3.982 MB / 495.2 MB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02676/0.4195, allocations: 12.77 MB / 0.496 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007068/0.4266, allocations: 3.035 MB / 0.499 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003218/0.4298, allocations: 1.647 MB / 0.5006 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0088/0.4386, allocations: 3.984 MB / 0.5045 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.4386, allocations: 56.5 kB / 0.5045 GB, free: 1.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=191): time 4.99e-06/0.4386, allocations: 0 / 0.5045 GB, free: 1.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=280): time 0.04566/0.4843, allocations: 15.41 MB / 0.5196 GB, free: 1.594 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.4844, allocations: 81.52 kB / 0.5197 GB, free: 1.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004762/0.4891, allocations: 2.665 MB / 0.5223 GB, free: 14.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003271/0.4895, allocations: 73.7 kB / 0.5223 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.4911, allocations: 1.667 MB / 0.524 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001198/0.4923, allocations: 0.9876 MB / 0.5249 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.4934, allocations: 453.7 kB / 0.5254 GB, free: 11.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4935, allocations: 301.1 kB / 0.5256 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.4963, allocations: 1.34 MB / 0.527 GB, free: 9.965 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/0.4994, allocations: 1.811 MB / 0.5287 GB, free: 7.988 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006112/0.5055, allocations: 3.322 MB / 0.532 GB, free: 4.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-05/0.5055, allocations: 4 kB / 0.532 GB, free: 4.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008947/0.5145, allocations: 4.379 MB / 0.5362 GB, free: 44 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5145, allocations: 8 kB / 0.5363 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.5145, allocations: 12 kB / 0.5363 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2078/0.7223, allocations: 0.8643 MB / 0.5371 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.7251, allocations: 0.5521 MB / 0.5376 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.7385, allocations: 13.14 MB / 0.5505 GB, free: 91.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.7408, allocations: 127.6 kB / 0.5506 GB, free: 91.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/0.7412, allocations: 112.4 kB / 0.5507 GB, free: 91.16 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.00197/0.7431, allocations: 1.242 MB / 0.5519 GB, free: 90.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006206/0.7438, allocations: 303.1 kB / 0.5522 GB, free: 90.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.003018/0.7468, allocations: 1.861 MB / 0.554 GB, free: 89.62 MB / 446.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1737819529371336] 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.7545214419951662 0.764314639 0.42441681699999995 Calling exit ...