Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_main_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.05119/0.05119, allocations: 8.016 MB / 23.49 MB, free: 0.6133 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.000978/0.0009781, allocations: 111.7 kB / 26.06 MB, free: 3.527 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.001267/0.001267, allocations: 190.3 kB / 28.74 MB, free: 0.8594 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.349/1.349, allocations: 222.9 MB / 254.2 MB, free: 4.832 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01271/0.01271, allocations: 3.112 MB / 309.2 MB, free: 2.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 87.86 kB / 373.7 MB, free: 1.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2221, allocations: 51.97 MB / 425.6 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.00846/0.2306, allocations: 9.128 MB / 434.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.2355, allocations: 2.63 MB / 437.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.2371, allocations: 47.81 kB / 437.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.2388, allocations: 468.5 kB / 437.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.241, allocations: 0.6559 MB / 438.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2423, allocations: 0.4915 MB / 439 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002794/0.2451, allocations: 2.476 MB / 441.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.2476, allocations: 2.045 MB / 443.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.2492, allocations: 1.09 MB / 444.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.251, allocations: 1.323 MB / 446 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006645/0.2517, allocations: 300 kB / 446.3 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.2527, allocations: 399.8 kB / 446.6 MB, free: 188 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.2539, allocations: 0.7792 MB / 447.4 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.2562, allocations: 1.299 MB / 448.7 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004033/0.2603, allocations: 3.688 MB / 452.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2603, allocations: 0 / 452.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2603, allocations: 0 / 452.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.546e-05/0.2604, allocations: 0 / 452.4 MB, free: 10.4 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.005639/0.266, allocations: 2.713 MB / 455.1 MB, free: 7.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.2661, allocations: 8.031 kB / 455.1 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003948/0.2665, allocations: 307.8 kB / 455.4 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/0.2672, allocations: 266 kB / 455.7 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.2693, allocations: 1.29 MB / 457 MB, free: 5.699 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.0002435/0.2696, allocations: 219.5 kB / 457.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003135/0.2699, allocations: 215.9 kB / 457.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004563/0.2745, allocations: 2.711 MB / 460.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.997e-05/0.2745, allocations: 7.906 kB / 460.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.2748, allocations: 84 kB / 460.2 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.2749, allocations: 104 kB / 460.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/0.2788, allocations: 2.221 MB / 462.5 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.2912, allocations: 8.028 MB / 470.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/0.294, allocations: 1.602 MB / 472.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.2958, allocations: 0.9529 MB / 473.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.296, allocations: 122.1 kB / 473.2 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.2973, allocations: 0.7772 MB / 474 MB, free: 4.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 3.065e-06/0.2974, allocations: 0 / 474 MB, free: 4.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01554/0.3129, allocations: 6.658 MB / 480.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.3131, allocations: 244.3 kB / 480.9 MB, free: 13.09 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.002204/0.3153, allocations: 1.207 MB / 482.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.3154, allocations: 45.7 kB / 482.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008821/0.3163, allocations: 0.9309 MB / 483.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/0.3167, allocations: 410.1 kB / 483.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005407/0.3173, allocations: 259.4 kB / 483.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3175, allocations: 365.9 kB / 484.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.3189, allocations: 0.7113 MB / 484.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.3205, allocations: 1.1 MB / 485.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008923/0.3294, allocations: 3.61 MB / 489.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.3295, allocations: 0 / 489.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004604/0.3341, allocations: 2.521 MB / 492 MB, free: 1.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.3341, allocations: 37.69 kB / 492.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.3342, allocations: 12 kB / 492.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.3354, allocations: 0.5015 MB / 492.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.3365, allocations: 307.5 kB / 492.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008421/0.3449, allocations: 8.792 MB / 0.4899 GB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.3465, allocations: 127.9 kB / 0.4901 GB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.3467, allocations: 64 kB / 0.4901 GB, free: 7.133 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.00242/0.3491, allocations: 1.235 MB / 0.4913 GB, free: 5.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001604/0.3507, allocations: 1.076 MB / 0.4924 GB, free: 4.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008773/0.3595, allocations: 3.528 MB / 0.4958 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.878e-06/0.3596, allocations: 0 / 0.4958 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004491/0.3641, allocations: 2.486 MB / 0.4982 GB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.3641, allocations: 33.7 kB / 0.4983 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.3641, allocations: 15.94 kB / 0.4983 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.3653, allocations: 0.4966 MB / 0.4988 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.3664, allocations: 287.5 kB / 0.4991 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008851/0.3752, allocations: 8.803 MB / 0.5076 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.3768, allocations: 135.8 kB / 0.5078 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.3771, allocations: 63.92 kB / 0.5078 GB, free: 4.039 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.0006121/0.3777, allocations: 298.3 kB / 0.5081 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/0.378, allocations: 134.3 kB / 0.5083 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.3823, allocations: 2.207 MB / 0.5104 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.3823, allocations: 12 kB / 0.5104 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.3823, allocations: 4 kB / 0.5104 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.3824, allocations: 7.969 kB / 0.5104 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1816/0.5639, allocations: 4.621 MB / 0.5149 GB, free: 84.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.564, allocations: 4.391 kB / 0.5149 GB, free: 84.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/0.5649, allocations: 199.5 kB / 0.5151 GB, free: 84.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.5663, allocations: 0.5329 MB / 0.5157 GB, free: 84.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-05/0.5664, allocations: 32.22 kB / 0.5157 GB, free: 84.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006579/0.573, allocations: 8.623 MB / 0.5241 GB, free: 77.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.573, allocations: 12.81 kB / 0.5241 GB, free: 77.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/0.5784, allocations: 3.232 MB / 0.5273 GB, free: 76.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007543/0.5791, allocations: 364 kB / 0.5276 GB, free: 76.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.5794, allocations: 35.28 kB / 0.5277 GB, free: 76.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009519/0.5804, allocations: 107.7 kB / 0.5278 GB, free: 76.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/0.5806, allocations: 111.4 kB / 0.5279 GB, free: 76.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-05/0.5807, allocations: 39.03 kB / 0.5279 GB, free: 76.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.5818, allocations: 0.8046 MB / 0.5287 GB, free: 75.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5818, allocations: 0 / 0.5287 GB, free: 75.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002363/0.5842, allocations: 0.749 MB / 0.5294 GB, free: 75.76 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.004982/0.5892, allocations: 3.873 MB / 0.5332 GB, free: 73.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008733/0.5979, allocations: 6.696 MB / 0.5397 GB, free: 67.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/0.598, allocations: 4 kB / 0.5397 GB, free: 67.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.6016, allocations: 2.847 MB / 0.5425 GB, free: 64.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.6037, allocations: 384.4 kB / 0.5429 GB, free: 64.45 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1962:3-1962:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/0.6227, allocations: 13.07 MB / 0.5557 GB, free: 50.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.6243, allocations: 1.754 MB / 0.5574 GB, free: 48.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001283/0.6256, allocations: 415.6 kB / 0.5578 GB, free: 48.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/0.6265, allocations: 0.7805 MB / 0.5585 GB, free: 47.78 MB / 382.1 MB Notification: Performance of SimCode: time 2.875e-06/0.6265, allocations: 0 / 0.5585 GB, free: 47.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08744/0.714, allocations: 47.13 MB / 0.6046 GB, free: 1.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.75/27.46, allocations: 0 / 0.6046 GB, free: 1.062 MB / 382.1 MB (rm -f EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_main_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTexamples_main_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)