Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.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.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",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.004477/0.004477, allocations: 102.8 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03912/0.03912, allocations: 8.03 MB / 298.6 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.12 kB / 412.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08739/0.0887, allocations: 51.19 MB / 463.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.0111/0.09984, allocations: 9.679 MB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005452/0.1053, allocations: 2.7 MB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.1069, allocations: 51.81 kB / 476.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.1085, allocations: 0.4885 MB / 476.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.1111, allocations: 0.6752 MB / 477.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.1127, allocations: 0.5306 MB / 477.9 MB, free: 5.359 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") 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. [/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: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: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: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: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:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * aimc.fsNominal)) 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/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/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/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=3.0 * sqrt(1.0 - 0.0667) / (2.0 * aimc.pi * 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:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * 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: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: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: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: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. Notification: Performance of NFFlatten.flatten: time 0.003645/0.1164, allocations: 2.668 MB / 480.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003173/0.1196, allocations: 2.3 MB / 482.9 MB, free: 320 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.1213, allocations: 1.184 MB / 484 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.1234, allocations: 1.428 MB / 485.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007099/0.1241, allocations: 332 kB / 485.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1253, allocations: 427.8 kB / 486.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.1266, allocations: 0.8571 MB / 487.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002291/0.1289, allocations: 1.435 MB / 488.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004271/0.1332, allocations: 4.125 MB / 492.6 MB, free: 6.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1332, allocations: 0 / 492.6 MB, free: 6.512 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1333, allocations: 4 kB / 492.6 MB, free: 6.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001036/0.1334, allocations: 3.938 kB / 492.6 MB, free: 6.504 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: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.0067/0.1401, allocations: 2.886 MB / 495.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1401, allocations: 12.03 kB / 495.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003916/0.1405, allocations: 333.5 kB / 495.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/0.1412, allocations: 289.7 kB / 496.1 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.1437, allocations: 1.427 MB / 497.6 MB, free: 1.441 MB / 366.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.0002407/0.1439, allocations: 248 kB / 497.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.1444, allocations: 235.9 kB / 498 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/0.1493, allocations: 2.958 MB / 0.4893 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-05/0.1494, allocations: 7.906 kB / 0.4893 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.1496, allocations: 92 kB / 0.4893 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.1497, allocations: 108.5 kB / 0.4895 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004337/0.1541, allocations: 2.379 MB / 0.4918 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01486/0.1689, allocations: 8.694 MB / 0.5003 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.172, allocations: 1.624 MB / 0.5019 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1865/0.3585, allocations: 0.9554 MB / 0.5028 GB, free: 44.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/0.359, allocations: 128.1 kB / 0.5029 GB, free: 44.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.3608, allocations: 0.7814 MB / 0.5037 GB, free: 44.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.709e-06/0.3608, allocations: 3.875 kB / 0.5037 GB, free: 44.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01594/0.3767, allocations: 6.937 MB / 0.5104 GB, free: 42.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.3768, allocations: 247.3 kB / 0.5107 GB, free: 41.87 MB / 382.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 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.3792, allocations: 1.232 MB / 0.5119 GB, free: 41.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.3794, allocations: 55.95 kB / 0.5119 GB, free: 41.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008216/0.3802, allocations: 1.012 MB / 0.5129 GB, free: 40.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.3805, allocations: 416.8 kB / 0.5133 GB, free: 40.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006092/0.3811, allocations: 262.9 kB / 0.5136 GB, free: 40.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.3812, allocations: 309.4 kB / 0.5139 GB, free: 39.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.3826, allocations: 0.7165 MB / 0.5146 GB, free: 39.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.3842, allocations: 1.131 MB / 0.5157 GB, free: 38.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009047/0.3932, allocations: 3.601 MB / 0.5192 GB, free: 37.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.3933, allocations: 7.406 kB / 0.5192 GB, free: 37.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004785/0.3981, allocations: 2.561 MB / 0.5217 GB, free: 36.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.3981, allocations: 39.33 kB / 0.5217 GB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.3982, allocations: 16.38 kB / 0.5218 GB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.3994, allocations: 0.5045 MB / 0.5222 GB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4004, allocations: 302.4 kB / 0.5225 GB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/0.4069, allocations: 8.803 MB / 0.5311 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.4084, allocations: 127.6 kB / 0.5313 GB, free: 28.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.4086, allocations: 60.47 kB / 0.5313 GB, free: 28.32 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002002/0.4106, allocations: 1.288 MB / 0.5326 GB, free: 27.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001233/0.4118, allocations: 1.103 MB / 0.5336 GB, free: 26.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007659/0.4195, allocations: 3.539 MB / 0.5371 GB, free: 22.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.698e-06/0.4195, allocations: 8 kB / 0.5371 GB, free: 22.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003916/0.4234, allocations: 2.513 MB / 0.5396 GB, free: 20 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.4235, allocations: 33.7 kB / 0.5396 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.4235, allocations: 12 kB / 0.5396 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009724/0.4245, allocations: 0.5065 MB / 0.5401 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.4256, allocations: 295.5 kB / 0.5404 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005918/0.4315, allocations: 8.794 MB / 0.549 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.4329, allocations: 135.8 kB / 0.5491 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.433, allocations: 63.36 kB / 0.5492 GB, free: 9.629 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005277/0.4335, allocations: 299.3 kB / 0.5494 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.4338, allocations: 138.3 kB / 0.5496 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/0.4374, allocations: 2.209 MB / 0.5517 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.4374, allocations: 17.95 kB / 0.5518 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.4375, allocations: 8 kB / 0.5518 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.4375, allocations: 13.06 kB / 0.5518 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007096/0.4446, allocations: 4.728 MB / 0.5564 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4446, allocations: 4 kB / 0.5564 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000813/0.4454, allocations: 208.3 kB / 0.5566 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.4467, allocations: 0.514 MB / 0.5571 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.985e-05/0.4468, allocations: 43.97 kB / 0.5571 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007779/0.4546, allocations: 8.608 MB / 0.5655 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4546, allocations: 4 kB / 0.5655 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006072/0.4607, allocations: 3.26 MB / 0.5687 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008611/0.4615, allocations: 375.2 kB / 0.5691 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000544/0.4621, allocations: 32 kB / 0.5691 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.4633, allocations: 99.88 kB / 0.5692 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.4636, allocations: 116.7 kB / 0.5693 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.693e-05/0.4637, allocations: 39.97 kB / 0.5694 GB, free: 4.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001343/0.4651, allocations: 0.8107 MB / 0.5702 GB, free: 3.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4651, allocations: 0 / 0.5702 GB, free: 3.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00318/0.4683, allocations: 0.7917 MB / 0.5709 GB, free: 2.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(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.006399/0.4747, allocations: 3.899 MB / 0.5747 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01126/0.486, allocations: 6.742 MB / 0.5813 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.486, allocations: 0 / 0.5813 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004471/0.4905, allocations: 2.853 MB / 0.5841 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.4926, allocations: 382.2 kB / 0.5845 GB, free: 4.223 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/0.5142, allocations: 12.53 MB / 0.5967 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.5163, allocations: 1.837 MB / 0.5985 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00134/0.5177, allocations: 424 kB / 0.5989 GB, free: 4.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.5188, allocations: 0.8625 MB / 0.5997 GB, free: 4.094 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5188, allocations: 0 / 0.5997 GB, free: 4.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8923/1.411, allocations: 49.2 MB / 0.6478 GB, free: 3.344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.84, allocations: 4.062 kB / 0.6478 GB, free: 3.34 MB / 478.1 MB (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)