Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04366/0.04366, allocations: 8.039 MB / 24.3 MB, free: 376 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 106.1 kB / 26.87 MB, free: 3.129 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 193.4 kB / 29.58 MB, free: 452 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 255 MB, free: 4.715 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01308/0.01308, allocations: 3.125 MB / 310.1 MB, free: 2.332 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 95.86 kB / 375.1 MB, free: 1.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2119, allocations: 51.98 MB / 427.1 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.007529/0.2194, allocations: 9.121 MB / 436.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.2235, allocations: 2.634 MB / 438.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007541/0.2243, allocations: 43.81 kB / 438.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009007/0.2252, allocations: 468.5 kB / 439.4 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.2264, allocations: 0.6443 MB / 440 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.2272, allocations: 0.4976 MB / 440.5 MB, free: 7.848 MB / 302.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.001856/0.2291, allocations: 2.502 MB / 443 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.2308, allocations: 2.053 MB / 445.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009318/0.2317, allocations: 1.098 MB / 446.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.2328, allocations: 1.319 MB / 447.5 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002705/0.2331, allocations: 304 kB / 447.8 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.2336, allocations: 395.8 kB / 448.2 MB, free: 120 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006776/0.2343, allocations: 0.7831 MB / 448.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.2355, allocations: 1.295 MB / 450.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00322/0.2387, allocations: 3.738 MB / 454 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2387, allocations: 4 kB / 454 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2387, allocations: 0 / 454 MB, free: 10.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.837e-05/0.2388, allocations: 0 / 454 MB, free: 10.28 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.005058/0.2439, allocations: 2.713 MB / 456.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2439, allocations: 12.03 kB / 456.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006799/0.2446, allocations: 270 kB / 457 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.2469, allocations: 1.325 MB / 458.3 MB, free: 5.848 MB / 318.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.000242/0.2471, allocations: 223.4 kB / 458.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.2474, allocations: 211.9 kB / 458.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.2516, allocations: 2.715 MB / 461.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/0.2517, allocations: 3.906 kB / 461.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.2519, allocations: 87.94 kB / 461.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.666e-05/0.252, allocations: 100 kB / 461.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/0.2556, allocations: 2.229 MB / 463.8 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/0.2668, allocations: 7.911 MB / 471.8 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.2694, allocations: 1.619 MB / 473.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.271, allocations: 0.9451 MB / 474.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.2713, allocations: 138 kB / 474.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.2725, allocations: 0.7734 MB / 475.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.976e-06/0.2725, allocations: 0 / 475.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.0135/0.286, allocations: 6.641 MB / 481.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.2861, allocations: 244.3 kB / 482.1 MB, free: 13.34 MB / 350.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.001643/0.2878, allocations: 1.215 MB / 483.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.705e-05/0.2879, allocations: 45.7 kB / 483.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006979/0.2886, allocations: 0.9309 MB / 484.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.2889, allocations: 402.2 kB / 484.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/0.2893, allocations: 259.4 kB / 484.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2895, allocations: 365.9 kB / 485.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.2906, allocations: 0.7153 MB / 486 MB, free: 9.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.2921, allocations: 1.1 MB / 487.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008399/0.3005, allocations: 3.583 MB / 490.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3005, allocations: 0 / 490.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004189/0.3047, allocations: 2.529 MB / 493.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.3048, allocations: 33.7 kB / 493.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.3048, allocations: 12 kB / 493.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.306, allocations: 0.4963 MB / 493.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.307, allocations: 303.5 kB / 494.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007831/0.3149, allocations: 8.792 MB / 0.4911 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.3162, allocations: 127.9 kB / 0.4912 GB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.3163, allocations: 64.05 kB / 0.4913 GB, free: 7.41 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001983/0.3183, allocations: 1.237 MB / 0.4925 GB, free: 6.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001325/0.3196, allocations: 1.072 MB / 0.4935 GB, free: 4.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007782/0.3274, allocations: 3.513 MB / 0.4969 GB, free: 1.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.3275, allocations: 0 / 0.4969 GB, free: 1.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003899/0.3314, allocations: 2.486 MB / 0.4994 GB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.3314, allocations: 41.64 kB / 0.4994 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.3314, allocations: 12 kB / 0.4994 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.3325, allocations: 0.4962 MB / 0.4999 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/0.3335, allocations: 283.6 kB / 0.5002 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/0.3409, allocations: 8.803 MB / 0.5088 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.3424, allocations: 135.8 kB / 0.5089 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.3426, allocations: 67.97 kB / 0.509 GB, free: 4.332 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (150): * Single equations (assignments): 143 * 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.0005068/0.3431, allocations: 295.3 kB / 0.5093 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.3433, allocations: 134.4 kB / 0.5094 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.3471, allocations: 2.199 MB / 0.5115 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.3472, allocations: 15.94 kB / 0.5115 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3472, allocations: 4 kB / 0.5115 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.3472, allocations: 7.922 kB / 0.5116 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1954/0.5426, allocations: 4.608 MB / 0.5161 GB, free: 84.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.5427, allocations: 4.922 kB / 0.5161 GB, free: 84.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008509/0.5435, allocations: 203.8 kB / 0.5163 GB, free: 84.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.5448, allocations: 0.5138 MB / 0.5168 GB, free: 84.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.5449, allocations: 38.7 kB / 0.5168 GB, free: 84.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006631/0.5516, allocations: 8.622 MB / 0.5252 GB, free: 77.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5516, allocations: 3.938 kB / 0.5252 GB, free: 77.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/0.5565, allocations: 3.246 MB / 0.5284 GB, free: 76.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008156/0.5573, allocations: 360.3 kB / 0.5287 GB, free: 76.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.5576, allocations: 32.83 kB / 0.5288 GB, free: 76.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/0.5585, allocations: 108.2 kB / 0.5289 GB, free: 76.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.5588, allocations: 110.2 kB / 0.529 GB, free: 76.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/0.5588, allocations: 41.31 kB / 0.529 GB, free: 76.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009964/0.5598, allocations: 0.7999 MB / 0.5298 GB, free: 75.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.92e-07/0.5599, allocations: 0 / 0.5298 GB, free: 75.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002183/0.562, allocations: 0.75 MB / 0.5305 GB, free: 75.87 MB / 382.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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * 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.0003137/0.5624, allocations: 191 kB / 0.5307 GB, free: 75.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.5725, allocations: 6.7 MB / 0.5372 GB, free: 71.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.5725, allocations: 4 kB / 0.5373 GB, free: 71.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003984/0.5765, allocations: 2.845 MB / 0.54 GB, free: 68.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.5784, allocations: 381 kB / 0.5404 GB, free: 68.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/0.5837, allocations: 4.238 MB / 0.5445 GB, free: 64.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.5848, allocations: 1.75 MB / 0.5462 GB, free: 62.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001073/0.5859, allocations: 411.6 kB / 0.5466 GB, free: 61.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.5861, allocations: 99.42 kB / 0.5467 GB, free: 61.88 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5861, allocations: 4 kB / 0.5467 GB, free: 61.88 MB / 382.1 MB Notification: Performance of Templates: time 0.04306/0.6292, allocations: 31.3 MB / 0.5773 GB, free: 30.91 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.makefile (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.sim & ./EHPTexamples_EHPTexamples.ElectricDrives.wFollowing -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)