Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) 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(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 108 kB / 15.58 MB, free: 188 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 199.5 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1676/0.1676, allocations: 8.008 MB / 298.4 MB, free: 2.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.89 kB / 360.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1034, allocations: 51.19 MB / 411.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.2152/0.3186, allocations: 14.95 MB / 426.8 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007779/0.3264, allocations: 3.72 MB / 430.5 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.3292, allocations: 91.44 kB / 430.6 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.3313, allocations: 0.7188 MB / 431.3 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004086/0.3355, allocations: 1.204 MB / 432.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.3373, allocations: 0.7381 MB / 433.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004979/0.3423, allocations: 4.514 MB / 437.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003561/0.3459, allocations: 3.479 MB / 441.2 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.3491, allocations: 2.001 MB / 443.2 MB, free: 30.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003622/0.3527, allocations: 2.486 MB / 445.7 MB, free: 29.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001092/0.3538, allocations: 0.5369 MB / 446.3 MB, free: 29.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.3553, allocations: 0.624 MB / 446.9 MB, free: 29.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.3565, allocations: 1.485 MB / 448.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00297/0.3595, allocations: 2.398 MB / 450.8 MB, free: 27.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005968/0.3654, allocations: 6.899 MB / 457.7 MB, free: 24.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3655, allocations: 4.594 kB / 457.7 MB, free: 24.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3655, allocations: 0 / 457.7 MB, free: 24.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002337/0.3657, allocations: 0 / 457.7 MB, free: 24.67 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 978 * Number of variables: 978 Notification: Performance of Generate backend data structure: time 0.01055/0.3763, allocations: 4.608 MB / 462.3 MB, free: 22.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3764, allocations: 13.47 kB / 462.3 MB, free: 22.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006334/0.377, allocations: 0.5204 MB / 462.8 MB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.3782, allocations: 489.2 kB / 463.3 MB, free: 21.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003849/0.3821, allocations: 2.283 MB / 465.6 MB, free: 20.4 MB / 350.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/0.3824, allocations: 352.4 kB / 465.9 MB, free: 20.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007355/0.3832, allocations: 373.1 kB / 466.3 MB, free: 20.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008896/0.3921, allocations: 4.927 MB / 471.2 MB, free: 18.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.3922, allocations: 14.86 kB / 471.2 MB, free: 18.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.3925, allocations: 156.6 kB / 471.4 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.3927, allocations: 179.2 kB / 471.6 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007674/0.4004, allocations: 4.033 MB / 475.6 MB, free: 16.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0286/0.429, allocations: 14.79 MB / 490.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.4328, allocations: 2.632 MB / 493 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002545/0.4354, allocations: 1.705 MB / 494.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.4356, allocations: 127.1 kB / 494.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.4357, allocations: 68.48 kB / 494.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.737e-06/0.4357, allocations: 3.938 kB / 494.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.03125/0.467, allocations: 13.28 MB / 0.4963 GB, free: 5.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/0.4671, allocations: 124.8 kB / 0.4964 GB, free: 5.844 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc0.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc0.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc0.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc0.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc0.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc0.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc0.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc0.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc0.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc0.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc0.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc0.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc0.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc0.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc0.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc0.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc0.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc0.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/0.4713, allocations: 2.304 MB / 0.4987 GB, free: 3.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.4715, allocations: 61.7 kB / 0.4987 GB, free: 3.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.4728, allocations: 1.676 MB / 0.5004 GB, free: 1.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007063/0.4735, allocations: 0.697 MB / 0.501 GB, free: 1.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007672/0.4743, allocations: 428.5 kB / 0.5014 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4744, allocations: 305.1 kB / 0.5017 GB, free: 324 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.4764, allocations: 1.229 MB / 0.5029 GB, free: 15.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.479, allocations: 1.868 MB / 0.5048 GB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/0.4936, allocations: 6.183 MB / 0.5108 GB, free: 6.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.419e-05/0.4937, allocations: 8 kB / 0.5108 GB, free: 6.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008249/0.5019, allocations: 4.499 MB / 0.5152 GB, free: 1.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.502, allocations: 12.62 kB / 0.5152 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-05/0.5021, allocations: 20 kB / 0.5152 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002271/0.5043, allocations: 1.009 MB / 0.5162 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.5062, allocations: 0.503 MB / 0.5167 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/0.5219, allocations: 17.59 MB / 0.5339 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.5245, allocations: 167.7 kB / 0.534 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004779/0.525, allocations: 104 kB / 0.5341 GB, free: 13.35 MB / 414.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004247/0.5293, allocations: 2.194 MB / 0.5363 GB, free: 11.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002465/0.5318, allocations: 1.849 MB / 0.5381 GB, free: 9.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01373/0.5455, allocations: 6.113 MB / 0.5441 GB, free: 2.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-05/0.5456, allocations: 11.94 kB / 0.5441 GB, free: 2.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007949/0.5535, allocations: 4.457 MB / 0.5484 GB, free: 14.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.5536, allocations: 16 kB / 0.5484 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/0.5536, allocations: 16 kB / 0.5485 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.5559, allocations: 1.008 MB / 0.5494 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.5577, allocations: 495.2 kB / 0.5499 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/0.5731, allocations: 17.6 MB / 0.5671 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.5757, allocations: 163.9 kB / 0.5673 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004628/0.5762, allocations: 104 kB / 0.5674 GB, free: 9.555 MB / 446.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 4 (logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,actuator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%), (2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009704/0.5772, allocations: 374.1 kB / 0.5677 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007815/0.5779, allocations: 248.9 kB / 0.568 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006951/0.5849, allocations: 3.947 MB / 0.5718 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.585, allocations: 24 kB / 0.5718 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-05/0.585, allocations: 11.98 kB / 0.5718 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.585, allocations: 11.95 kB / 0.5719 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1789/0.764, allocations: 8.264 MB / 0.5799 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.764, allocations: 9.781 kB / 0.5799 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.7653, allocations: 327.2 kB / 0.5802 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/0.7675, allocations: 1.042 MB / 0.5813 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.7677, allocations: 66.94 kB / 0.5813 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.7792, allocations: 17.24 MB / 0.5982 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.7792, allocations: 13.12 kB / 0.5982 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00742/0.7866, allocations: 5.737 MB / 0.6038 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.7879, allocations: 0.584 MB / 0.6043 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006471/0.7886, allocations: 60.78 kB / 0.6044 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.7904, allocations: 145.2 kB / 0.6045 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/0.7908, allocations: 186.1 kB / 0.6047 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.791, allocations: 70.92 kB / 0.6048 GB, free: 106.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002782/0.7938, allocations: 1.514 MB / 0.6063 GB, free: 105.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7938, allocations: 0 / 0.6063 GB, free: 105.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006378/0.8002, allocations: 1.371 MB / 0.6076 GB, free: 105.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008626/0.8088, allocations: 6.421 MB / 0.6139 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01366/0.8225, allocations: 10.11 MB / 0.6237 GB, free: 96.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/0.8225, allocations: 2.344 kB / 0.6238 GB, free: 96.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005913/0.8284, allocations: 4.256 MB / 0.6279 GB, free: 93.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00453/0.833, allocations: 0.6897 MB / 0.6286 GB, free: 93.57 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1962:3-1962:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04439/0.8774, allocations: 25.55 MB / 0.6535 GB, free: 76.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/0.8802, allocations: 2.694 MB / 0.6562 GB, free: 74.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002359/0.8826, allocations: 0.7659 MB / 0.6569 GB, free: 73.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/0.8842, allocations: 1.46 MB / 0.6583 GB, free: 72.13 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.8842, allocations: 0 / 0.6583 GB, free: 72.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/1.019, allocations: 81.29 MB / 0.7377 GB, free: 8.457 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/11.11, allocations: 8 kB / 0.7377 GB, free: 8.449 MB / 462.1 MB (rm -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; mkfifo EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe >> ../files/EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMA.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_StartASMA_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=0.0001 EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_StartASMA.fmu > EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMA.pipe 2>&1)