Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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: translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA") translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 102.1 kB / 16.4 MB, free: 5.949 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.001297/0.001297, allocations: 193 kB / 17.34 MB, free: 5.578 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04023/0.04023, allocations: 8.029 MB / 299.2 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.89 kB / 413.8 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08497/0.08632, allocations: 51.2 MB / 464.9 MB, free: 3.043 MB / 334.1 MB [/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: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) 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) 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*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*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*(1 - sqrt(1 - 0.0667))/(2*pi*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) 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/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: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/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) 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: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: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: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) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*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 aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*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 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: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: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) 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 aimc0.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.01553/0.1019, allocations: 15.04 MB / 480 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007769/0.1097, allocations: 3.729 MB / 483.7 MB, free: 208 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.1121, allocations: 87.62 kB / 483.8 MB, free: 120 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.1146, allocations: 0.7484 MB / 484.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00446/0.1191, allocations: 1.27 MB / 485.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.1212, allocations: 0.7555 MB / 486.6 MB, free: 13.33 MB / 366.1 MB [/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/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/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. Notification: Performance of NFFlatten.flatten: time 0.005904/0.1271, allocations: 4.573 MB / 491.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004869/0.132, allocations: 3.479 MB / 494.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.1355, allocations: 2.029 MB / 496.7 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003767/0.1393, allocations: 2.502 MB / 499.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.1406, allocations: 0.543 MB / 499.7 MB, free: 108 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.1425, allocations: 0.621 MB / 0.4886 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.1442, allocations: 1.484 MB / 0.49 GB, free: 14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00337/0.1476, allocations: 2.404 MB / 0.4924 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007399/0.155, allocations: 7.01 MB / 0.4992 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.155, allocations: 0 / 0.4992 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.155, allocations: 0 / 0.4992 GB, free: 4.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001685/0.1552, allocations: 0 / 0.4992 GB, free: 4.547 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: 978 * Number of variables: 978 Notification: Performance of Generate backend data structure: time 0.2392/0.3944, allocations: 4.732 MB / 0.5039 GB, free: 42.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.3945, allocations: 9.469 kB / 0.5039 GB, free: 42.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.3966, allocations: 0.5017 MB / 0.5044 GB, free: 41.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005533/0.4022, allocations: 2.377 MB / 0.5067 GB, free: 41.39 MB / 382.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.0003205/0.4025, allocations: 341.7 kB / 0.507 GB, free: 41.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008628/0.4034, allocations: 381.9 kB / 0.5074 GB, free: 41.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009649/0.413, allocations: 4.925 MB / 0.5122 GB, free: 39.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.4132, allocations: 14.75 kB / 0.5122 GB, free: 39.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003282/0.4135, allocations: 156.2 kB / 0.5123 GB, free: 39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003134/0.4138, allocations: 182.9 kB / 0.5125 GB, free: 38.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008317/0.4222, allocations: 4.032 MB / 0.5165 GB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02432/0.4465, allocations: 14.66 MB / 0.5308 GB, free: 27.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/0.4497, allocations: 2.642 MB / 0.5333 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.4521, allocations: 1.693 MB / 0.535 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.4523, allocations: 142.6 kB / 0.5351 GB, free: 23.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.4524, allocations: 52.56 kB / 0.5352 GB, free: 23.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=171): time 4.138e-06/0.4524, allocations: 0 / 0.5352 GB, free: 23.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.02595/0.4783, allocations: 13.33 MB / 0.5482 GB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.4784, allocations: 128.8 kB / 0.5483 GB, free: 9.914 MB / 382.1 MB [/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/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/0.4814, allocations: 2.237 MB / 0.5505 GB, free: 7.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002018/0.4816, allocations: 61.7 kB / 0.5506 GB, free: 7.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007387/0.4823, allocations: 1.71 MB / 0.5522 GB, free: 5.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/0.4828, allocations: 0.7349 MB / 0.553 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.4834, allocations: 440.5 kB / 0.5534 GB, free: 4.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.4834, allocations: 305.1 kB / 0.5537 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.485, allocations: 1.225 MB / 0.5549 GB, free: 3.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.4868, allocations: 1.879 MB / 0.5567 GB, free: 1.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/0.5006, allocations: 6.145 MB / 0.5627 GB, free: 10.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.679e-05/0.5007, allocations: 15.31 kB / 0.5627 GB, free: 10.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008373/0.5091, allocations: 4.513 MB / 0.5671 GB, free: 5.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.5091, allocations: 16 kB / 0.5671 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.5092, allocations: 19.94 kB / 0.5672 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.5116, allocations: 1.012 MB / 0.5681 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.5135, allocations: 0.4953 MB / 0.5686 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.5298, allocations: 17.6 MB / 0.5858 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/0.5329, allocations: 167.8 kB / 0.586 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/0.5333, allocations: 104 kB / 0.5861 GB, free: 1.477 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.00383/0.5371, allocations: 2.191 MB / 0.5882 GB, free: 15.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002217/0.5394, allocations: 1.849 MB / 0.59 GB, free: 13.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01354/0.5529, allocations: 6.078 MB / 0.596 GB, free: 6.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.811e-05/0.553, allocations: 4.312 kB / 0.596 GB, free: 6.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007719/0.5607, allocations: 4.477 MB / 0.6003 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.5608, allocations: 12 kB / 0.6003 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.5608, allocations: 20 kB / 0.6004 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/0.5632, allocations: 0.9964 MB / 0.6013 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/0.5652, allocations: 0.4914 MB / 0.6018 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/0.582, allocations: 17.61 MB / 0.619 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.5846, allocations: 155.8 kB / 0.6192 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003827/0.585, allocations: 108 kB / 0.6193 GB, free: 13.74 MB / 462.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.0008048/0.5858, allocations: 367.6 kB / 0.6196 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007218/0.5865, allocations: 274.2 kB / 0.6199 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006713/0.5933, allocations: 3.958 MB / 0.6237 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.5933, allocations: 23.94 kB / 0.6238 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.5933, allocations: 8 kB / 0.6238 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.5934, allocations: 11.91 kB / 0.6238 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.6079, allocations: 8.215 MB / 0.6318 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.6079, allocations: 8 kB / 0.6318 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.6092, allocations: 323.6 kB / 0.6321 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/0.6119, allocations: 1.041 MB / 0.6331 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/0.6122, allocations: 59.97 kB / 0.6332 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/0.6276, allocations: 17.25 MB / 0.65 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/0.6276, allocations: 15.92 kB / 0.65 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008709/0.6363, allocations: 5.76 MB / 0.6557 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/0.6379, allocations: 0.5968 MB / 0.6563 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004091/0.6384, allocations: 59.97 kB / 0.6563 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.6398, allocations: 155.8 kB / 0.6565 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004819/0.6403, allocations: 181.6 kB / 0.6566 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.6405, allocations: 75.97 kB / 0.6567 GB, free: 5.809 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002336/0.6428, allocations: 1.516 MB / 0.6582 GB, free: 4.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6428, allocations: 0 / 0.6582 GB, free: 4.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004785/0.6476, allocations: 1.371 MB / 0.6595 GB, free: 2.906 MB / 494.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.0004392/0.6481, allocations: 223.3 kB / 0.6597 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01833/0.6664, allocations: 10.59 MB / 0.6701 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.6664, allocations: 0 / 0.6701 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00805/0.6745, allocations: 4.51 MB / 0.6745 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/0.6779, allocations: 0.6826 MB / 0.6752 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.6901, allocations: 7.784 MB / 0.6828 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/0.6924, allocations: 2.608 MB / 0.6853 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008596/0.6933, allocations: 183.4 kB / 0.6855 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.6933, allocations: 0 / 0.6855 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of Templates: time 0.3815/1.075, allocations: 222.9 MB / 0.9032 GB, free: 14.75 MB / 0.545 GB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.makefile make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.o OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.cpp In file included from OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.cpp:29: ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2081:30: error: use of undeclared identifier '_algLoopLinearSolver211' double* algloop211Vars = _algLoopLinearSolver211->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2082:47: error: use of undeclared identifier '_algLoopLinearSolver211' bool* conditions0211 = _algLoopLinearSolver211->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:46: error: use of undeclared identifier '_algLoopLinearSolver211' bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2084:5: error: use of undeclared identifier '_algLoop211' _algLoop211->getReal(algloop211Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2088:10: error: use of undeclared identifier '_algLoop211' _algLoop211->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2096:16: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2104:42: error: use of undeclared identifier '_conditions1211'; did you mean 'conditions1211'? restart211 = !std::equal (_conditions1211, _conditions1211+_dimZeroFunc,_conditions0211); ^~~~~~~~~~~~~~~ conditions1211 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:29: note: 'conditions1211' declared here bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2104:59: error: use of undeclared identifier '_conditions1211'; did you mean 'conditions1211'? restart211 = !std::equal (_conditions1211, _conditions1211+_dimZeroFunc,_conditions0211); ^~~~~~~~~~~~~~~ conditions1211 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:29: note: 'conditions1211' declared here bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2104:88: error: use of undeclared identifier '_conditions0211'; did you mean 'conditions0211'? restart211 = !std::equal (_conditions1211, _conditions1211+_dimZeroFunc,_conditions0211); ^~~~~~~~~~~~~~~ conditions0211 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2082:30: note: 'conditions0211' declared here bool* conditions0211 = _algLoopLinearSolver211->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2108:13: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2121:18: error: use of undeclared identifier '_algLoop211' _algLoop211->setReal(algloop211Vars ); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2122:18: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2138:30: error: use of undeclared identifier '_algLoopLinearSolver214' double* algloop214Vars = _algLoopLinearSolver214->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2139:47: error: use of undeclared identifier '_algLoopLinearSolver214' bool* conditions0214 = _algLoopLinearSolver214->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2140:46: error: use of undeclared identifier '_algLoopLinearSolver214' bool* conditions1214 = _algLoopLinearSolver214->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2141:5: error: use of undeclared identifier '_algLoop214' _algLoop214->getReal(algloop214Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2145:10: error: use of undeclared identifier '_algLoop214' _algLoop214->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2153:16: error: use of undeclared identifier '_algLoopNonLinearSolver214' _algLoopNonLinearSolver214->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2161:42: error: use of undeclared identifier '_conditions1214'; did you mean 'conditions1214'? restart214 = !std::equal (_conditions1214, _conditions1214+_dimZeroFunc,_conditions0214); ^~~~~~~~~~~~~~~ conditions1214 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2140:29: note: 'conditions1214' declared here bool* conditions1214 = _algLoopLinearSolver214->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.o] Error 1