Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_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: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04971/0.04971, allocations: 8.037 MB / 23.31 MB, free: 80 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.0006492/0.0006491, allocations: 83 kB / 25.87 MB, free: 3.363 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.0007668/0.0007667, allocations: 190.9 kB / 28.56 MB, free: 0.7227 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 223.3 MB / 254.4 MB, free: 3.859 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01168/0.01168, allocations: 3.117 MB / 310.4 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003997, allocations: 16.42 kB / 375.5 MB, free: 53.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07476/0.07518, allocations: 52.98 MB / 428.5 MB, free: 19.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.006255/0.08147, allocations: 8.544 MB / 437.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.08514, allocations: 2.579 MB / 439.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008365/0.086, allocations: 43.81 kB / 439.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007547/0.08676, allocations: 393.6 kB / 440.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.08792, allocations: 0.5788 MB / 440.6 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.08865, allocations: 453 kB / 441.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.09028, allocations: 2.765 MB / 443.9 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.09167, allocations: 1.732 MB / 445.6 MB, free: 2.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007265/0.09241, allocations: 0.8207 MB / 446.4 MB, free: 1.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008497/0.09327, allocations: 1.101 MB / 447.5 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.09344, allocations: 127.9 kB / 447.6 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.09382, allocations: 227.8 kB / 447.9 MB, free: 356 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004363/0.09427, allocations: 0.58 MB / 448.4 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008816/0.09516, allocations: 1.078 MB / 449.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.09777, allocations: 3.484 MB / 453 MB, free: 11.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09778, allocations: 4 kB / 453 MB, free: 11.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09779, allocations: 4 kB / 453 MB, free: 11.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.013e-05/0.09783, allocations: 0 / 453 MB, free: 11.17 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.004161/0.102, allocations: 2.327 MB / 455.3 MB, free: 8.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.102, allocations: 12.03 kB / 455.3 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003475/0.1024, allocations: 303.8 kB / 455.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006022/0.103, allocations: 266.1 kB / 455.9 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.1048, allocations: 1.294 MB / 457.2 MB, free: 6.855 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.0002257/0.105, allocations: 231.5 kB / 457.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002891/0.1053, allocations: 211.9 kB / 457.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004175/0.1095, allocations: 2.727 MB / 460.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.1096, allocations: 15.98 kB / 460.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.1098, allocations: 80 kB / 460.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.771e-05/0.1098, allocations: 96.03 kB / 460.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003747/0.1136, allocations: 2.272 MB / 462.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01093/0.1245, allocations: 8.079 MB / 470.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.1272, allocations: 1.667 MB / 472.6 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.1289, allocations: 0.983 MB / 473.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.1291, allocations: 126.1 kB / 473.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/0.1304, allocations: 0.7967 MB / 474.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.214e-06/0.1304, allocations: 0 / 474.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01391/0.1443, allocations: 6.829 MB / 481.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002116/0.1446, allocations: 244.3 kB / 481.5 MB, free: 13.84 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.1017764061411688 / (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.1017764061411688 / (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.002453/0.1471, allocations: 1.209 MB / 482.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002426/0.1473, allocations: 49.7 kB / 482.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006746/0.148, allocations: 0.9232 MB / 483.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.1484, allocations: 418 kB / 484.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.1485, allocations: 113.7 kB / 484.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1487, allocations: 361.9 kB / 484.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.1499, allocations: 0.7261 MB / 485.3 MB, free: 10 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.1514, allocations: 1.119 MB / 486.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008743/0.1602, allocations: 3.673 MB / 490.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1602, allocations: 4 kB / 490.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004305/0.1645, allocations: 2.564 MB / 492.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002562/0.1648, allocations: 424.7 kB / 493.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.1648, allocations: 19.88 kB / 493.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.1659, allocations: 0.496 MB / 493.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.167, allocations: 315.5 kB / 493.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007258/0.1743, allocations: 8.094 MB / 0.4902 GB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.1755, allocations: 143.9 kB / 0.4904 GB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.903e-05/0.1756, allocations: 55.98 kB / 0.4904 GB, free: 8.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.491e-06/0.1757, allocations: 0 / 0.4904 GB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003795/0.1795, allocations: 2.381 MB / 0.4927 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1795, allocations: 11.94 kB / 0.4928 GB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.1806, allocations: 0.5038 MB / 0.4933 GB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009999/0.1816, allocations: 287.6 kB / 0.4935 GB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1543/0.3359, allocations: 8.085 MB / 0.5014 GB, free: 66.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.3372, allocations: 133 kB / 0.5015 GB, free: 66.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.3374, allocations: 57.88 kB / 0.5016 GB, free: 66.61 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: 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.001085/0.3385, allocations: 0.7132 MB / 0.5023 GB, free: 66.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.3387, allocations: 142.4 kB / 0.5024 GB, free: 66.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.3423, allocations: 2.251 MB / 0.5046 GB, free: 65.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3424, allocations: 11.47 kB / 0.5046 GB, free: 65.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.3424, allocations: 9.594 kB / 0.5047 GB, free: 65.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.3424, allocations: 5.531 kB / 0.5047 GB, free: 65.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00619/0.3486, allocations: 4.676 MB / 0.5092 GB, free: 63.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.3486, allocations: 3.625 kB / 0.5092 GB, free: 63.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/0.3494, allocations: 214.8 kB / 0.5094 GB, free: 63.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.3505, allocations: 0.5159 MB / 0.5099 GB, free: 63.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.3506, allocations: 40.95 kB / 0.51 GB, free: 63.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/0.3557, allocations: 7.912 MB / 0.5177 GB, free: 57.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3557, allocations: 11.5 kB / 0.5177 GB, free: 57.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/0.3598, allocations: 3.317 MB / 0.521 GB, free: 55.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.3603, allocations: 364.3 kB / 0.5213 GB, free: 55.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.3604, allocations: 31.72 kB / 0.5213 GB, free: 55.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/0.3614, allocations: 123.9 kB / 0.5214 GB, free: 55.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.3616, allocations: 114.7 kB / 0.5216 GB, free: 55.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.3616, allocations: 38.55 kB / 0.5216 GB, free: 55.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008049/0.3625, allocations: 0.8015 MB / 0.5224 GB, free: 55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3625, allocations: 3.75 kB / 0.5224 GB, free: 55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001885/0.3643, allocations: 0.7465 MB / 0.5231 GB, free: 54.26 MB / 366.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.004361/0.3687, allocations: 3.944 MB / 0.527 GB, free: 50.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00777/0.3765, allocations: 6.76 MB / 0.5336 GB, free: 43.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3765, allocations: 4 kB / 0.5336 GB, free: 43.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003296/0.3798, allocations: 2.877 MB / 0.5364 GB, free: 40.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.3819, allocations: 352.2 kB / 0.5367 GB, free: 39.98 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1914:3-1914:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.3986, allocations: 13.94 MB / 0.5503 GB, free: 25.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/0.3996, allocations: 1.746 MB / 0.552 GB, free: 23.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001092/0.4007, allocations: 415.5 kB / 0.5524 GB, free: 23.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/0.4014, allocations: 0.7805 MB / 0.5532 GB, free: 22.34 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4014, allocations: 3.938 kB / 0.5532 GB, free: 22.34 MB / 366.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal).