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.04709/0.04709, allocations: 8.039 MB / 23.16 MB, free: 0.5352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008405, allocations: 111.5 kB / 25.73 MB, free: 3.582 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.0009236/0.0009236, allocations: 199.8 kB / 28.4 MB, free: 0.9141 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.209/1.209, allocations: 222.9 MB / 253.8 MB, free: 3.285 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01279/0.01279, allocations: 3.13 MB / 308.8 MB, free: 2.363 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 88.28 kB / 373 MB, free: 2.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.17, allocations: 51.99 MB / 425 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.007003/0.1771, allocations: 9.068 MB / 434.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.18, allocations: 2.607 MB / 436.7 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.1805, allocations: 47.81 kB / 436.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007627/0.1813, allocations: 401.5 kB / 437.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009473/0.1822, allocations: 0.5749 MB / 437.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.1828, allocations: 458.2 kB / 438.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.1843, allocations: 2.757 MB / 440.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.1857, allocations: 1.76 MB / 442.7 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006517/0.1864, allocations: 0.9573 MB / 443.6 MB, free: 2.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008812/0.1872, allocations: 1.261 MB / 444.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002469/0.1875, allocations: 188 kB / 445.1 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004814/0.188, allocations: 283.8 kB / 445.3 MB, free: 1.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004459/0.1884, allocations: 0.6737 MB / 446 MB, free: 480 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000932/0.1894, allocations: 1.162 MB / 447.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.192, allocations: 3.598 MB / 450.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.192, allocations: 3.984 kB / 450.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.192, allocations: 0 / 450.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.192, allocations: 0 / 450.8 MB, free: 11.69 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.004784/0.1968, allocations: 2.709 MB / 453.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1969, allocations: 11.97 kB / 453.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003507/0.1972, allocations: 303.8 kB / 453.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006709/0.1979, allocations: 266 kB / 454.1 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.1998, allocations: 1.294 MB / 455.3 MB, free: 6.988 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.0002225/0.2, allocations: 215.5 kB / 455.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.2003, allocations: 215.9 kB / 455.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004306/0.2046, allocations: 2.719 MB / 458.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/0.2047, allocations: 3.906 kB / 458.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.2049, allocations: 87.98 kB / 458.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.262e-05/0.205, allocations: 96.03 kB / 458.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.2088, allocations: 2.225 MB / 460.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.2197, allocations: 8.012 MB / 468.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.2223, allocations: 1.611 MB / 470.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.224, allocations: 0.9479 MB / 471.5 MB, free: 6.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.2243, allocations: 126 kB / 471.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/0.2256, allocations: 0.785 MB / 472.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.635e-06/0.2256, allocations: 0 / 472.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.0138/0.2394, allocations: 6.645 MB / 479 MB, free: 14.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.2395, allocations: 248.3 kB / 479.3 MB, free: 14.39 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.001518/0.241, allocations: 1.203 MB / 480.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.035e-05/0.2411, allocations: 49.7 kB / 480.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/0.2418, allocations: 0.927 MB / 481.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.2421, allocations: 410.2 kB / 481.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.2425, allocations: 255.4 kB / 482.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2426, allocations: 365.9 kB / 482.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.2439, allocations: 0.7153 MB / 483.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.2453, allocations: 1.1 MB / 484.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008822/0.2542, allocations: 3.583 MB / 487.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2542, allocations: 8 kB / 487.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004208/0.2584, allocations: 2.525 MB / 490.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.2585, allocations: 33.7 kB / 490.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.2585, allocations: 12.31 kB / 490.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.2597, allocations: 0.4998 MB / 490.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.2608, allocations: 291.5 kB / 491.2 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/0.2681, allocations: 8.08 MB / 499.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.2693, allocations: 139.7 kB / 499.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.2694, allocations: 63.98 kB / 499.5 MB, free: 9.191 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.001977/0.2714, allocations: 1.226 MB / 0.489 GB, free: 7.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001385/0.2728, allocations: 1.072 MB / 0.49 GB, free: 6.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008536/0.2813, allocations: 3.517 MB / 0.4935 GB, free: 3.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.459e-06/0.2813, allocations: 0 / 0.4935 GB, free: 3.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004026/0.2854, allocations: 2.486 MB / 0.4959 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.2854, allocations: 41.72 kB / 0.4959 GB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2854, allocations: 12 kB / 0.4959 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.2866, allocations: 0.4961 MB / 0.4964 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.2876, allocations: 287.5 kB / 0.4967 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007245/0.2949, allocations: 8.079 MB / 0.5046 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.2961, allocations: 139.7 kB / 0.5047 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.2963, allocations: 59.98 kB / 0.5048 GB, free: 6.867 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.0003812/0.2966, allocations: 297.2 kB / 0.5051 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.2969, allocations: 134.4 kB / 0.5052 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.3008, allocations: 2.199 MB / 0.5073 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.3008, allocations: 12 kB / 0.5073 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3008, allocations: 8 kB / 0.5074 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.3008, allocations: 7.969 kB / 0.5074 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1438/0.4446, allocations: 4.623 MB / 0.5119 GB, free: 84.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.4446, allocations: 3.719 kB / 0.5119 GB, free: 84.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009676/0.4456, allocations: 205.8 kB / 0.5121 GB, free: 84.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.447, allocations: 0.5189 MB / 0.5126 GB, free: 84.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.4471, allocations: 37.77 kB / 0.5126 GB, free: 84.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006066/0.4532, allocations: 7.899 MB / 0.5203 GB, free: 79.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4532, allocations: 8.625 kB / 0.5203 GB, free: 79.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004584/0.4578, allocations: 3.249 MB / 0.5235 GB, free: 77.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/0.4583, allocations: 358.7 kB / 0.5239 GB, free: 77.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.4585, allocations: 39.55 kB / 0.5239 GB, free: 77.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009128/0.4594, allocations: 96.81 kB / 0.524 GB, free: 77.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.4597, allocations: 117.1 kB / 0.5241 GB, free: 77.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/0.4598, allocations: 40.14 kB / 0.5241 GB, free: 77.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008812/0.4607, allocations: 0.801 MB / 0.5249 GB, free: 77.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4607, allocations: 0 / 0.5249 GB, free: 77.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002302/0.463, allocations: 0.743 MB / 0.5256 GB, free: 77.09 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.004607/0.4676, allocations: 3.886 MB / 0.5294 GB, free: 75.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007969/0.4756, allocations: 6.697 MB / 0.536 GB, free: 70.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4756, allocations: 0 / 0.536 GB, free: 70.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003417/0.479, allocations: 2.848 MB / 0.5388 GB, free: 68.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.4806, allocations: 356.8 kB / 0.5391 GB, free: 67.87 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1941:3-1941:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.4973, allocations: 13.74 MB / 0.5525 GB, free: 53.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009272/0.4983, allocations: 1.742 MB / 0.5542 GB, free: 51.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00111/0.4994, allocations: 420 kB / 0.5546 GB, free: 51.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/0.5002, allocations: 0.7805 MB / 0.5554 GB, free: 50.62 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5002, allocations: 0 / 0.5554 GB, free: 50.62 MB / 382.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).