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 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.03191/0.03191, allocations: 6.475 MB / 25.57 MB, free: 3.562 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009603/0.0009603, allocations: 83.72 kB / 30.8 MB, free: 4.945 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 164 kB / 36.14 MB, free: 6.82 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.944/0.944, allocations: 177.2 MB / 218.5 MB, free: 13.58 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01665/0.01665, allocations: 2.508 MB / 279.5 MB, free: 0.5117 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 412 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.949e-05, allocations: 2.281 kB / 412 MB, free: 10.98 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.007392/0.007411, allocations: 8.735 MB / 420.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1386/0.146, allocations: 2.724 MB / 423.5 MB, free: 20.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.1471, allocations: 69.47 kB / 423.5 MB, free: 20.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008404/0.1479, allocations: 0.4895 MB / 424 MB, free: 20.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.149, allocations: 0.743 MB / 424.8 MB, free: 20.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.1496, allocations: 0.5597 MB / 425.3 MB, free: 20.04 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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. Notification: Performance of NFFlatten.flatten: time 0.00151/0.1511, allocations: 2.77 MB / 428.1 MB, free: 19.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.1522, allocations: 1.29 MB / 429.4 MB, free: 18.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.1535, allocations: 1.815 MB / 431.2 MB, free: 17.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.1546, allocations: 1.229 MB / 432.4 MB, free: 17.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003166/0.1549, allocations: 336.6 kB / 432.8 MB, free: 17.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005408/0.1555, allocations: 435 kB / 433.2 MB, free: 17.53 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.1561, allocations: 0.8967 MB / 434.1 MB, free: 17.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007667/0.1568, allocations: 0.9924 MB / 435.1 MB, free: 16.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.1595, allocations: 4.256 MB / 439.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1595, allocations: 1.312 kB / 439.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1595, allocations: 0 / 439.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.1595, allocations: 0 / 439.3 MB, free: 14.7 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.00317/0.1627, allocations: 2.906 MB / 442.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1627, allocations: 9 kB / 442.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002717/0.163, allocations: 344.2 kB / 442.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004968/0.1635, allocations: 313 kB / 442.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.1651, allocations: 1.42 MB / 444.3 MB, free: 11.38 MB / 330.7 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.0001703/0.1653, allocations: 295 kB / 444.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.1655, allocations: 231.6 kB / 444.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.1684, allocations: 3.135 MB / 448 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.1684, allocations: 6.609 kB / 448 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.1685, allocations: 97.88 kB / 448.1 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.942e-05/0.1686, allocations: 111.3 kB / 448.2 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.171, allocations: 2.374 MB / 450.5 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006295/0.1773, allocations: 7.852 MB / 458.4 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.1788, allocations: 1.368 MB / 459.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.1799, allocations: 0.9131 MB / 460.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.1801, allocations: 40.97 kB / 460.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008663/0.1809, allocations: 0.8888 MB / 461.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 1.973e-06/0.1809, allocations: 7.188 kB / 461.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.008428/0.1893, allocations: 6.45 MB / 468.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/0.1894, allocations: 248.3 kB / 468.3 MB, free: 6.73 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.1905, allocations: 1.203 MB / 469.5 MB, free: 5.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.1905, allocations: 45.7 kB / 469.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.191, allocations: 1.055 MB / 470.6 MB, free: 4.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.1912, allocations: 441 kB / 471 MB, free: 3.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005067/0.1917, allocations: 263.5 kB / 471.3 MB, free: 3.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.1918, allocations: 309.1 kB / 471.6 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008112/0.1926, allocations: 0.7404 MB / 472.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.1936, allocations: 1.307 MB / 473.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004911/0.1985, allocations: 3.595 MB / 477.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.1985, allocations: 4 kB / 477.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003004/0.2016, allocations: 2.507 MB / 479.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.2016, allocations: 42 kB / 479.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.2016, allocations: 16 kB / 479.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006901/0.2023, allocations: 0.49 MB / 480.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.2029, allocations: 319.5 kB / 480.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005107/0.208, allocations: 8.329 MB / 488.9 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/0.2087, allocations: 131.9 kB / 489.1 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/0.2087, allocations: 59.98 kB / 489.1 MB, free: 1.02 MB / 362.7 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.001431/0.2102, allocations: 1.317 MB / 490.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009837/0.2112, allocations: 1.279 MB / 491.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004704/0.2159, allocations: 3.514 MB / 495.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.542e-06/0.2159, allocations: 7.984 kB / 495.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.002549/0.2184, allocations: 2.469 MB / 497.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.2184, allocations: 37.7 kB / 497.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.2184, allocations: 12 kB / 497.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006325/0.2191, allocations: 0.5063 MB / 498.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.2196, allocations: 299.5 kB / 498.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/0.2249, allocations: 8.332 MB / 0.495 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.2255, allocations: 135.9 kB / 0.4951 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.2256, allocations: 59.98 kB / 0.4952 GB, free: 14.19 MB / 394.7 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: 49 * 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 (158): * Single equations (assignments): 151 * 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.0002765/0.2259, allocations: 297.8 kB / 0.4955 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.226, allocations: 147.1 kB / 0.4956 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.2284, allocations: 2.136 MB / 0.4977 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.2284, allocations: 12 kB / 0.4977 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2284, allocations: 8.062 kB / 0.4977 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.2284, allocations: 11.97 kB / 0.4977 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/0.2332, allocations: 4.4 MB / 0.502 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.2332, allocations: 4 kB / 0.502 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.2336, allocations: 204.2 kB / 0.5022 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007267/0.2344, allocations: 0.5193 MB / 0.5027 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/0.2344, allocations: 43.97 kB / 0.5028 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004731/0.2392, allocations: 8.146 MB / 0.5107 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2392, allocations: 16 kB / 0.5108 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.2424, allocations: 3.199 MB / 0.5139 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.2427, allocations: 290.9 kB / 0.5142 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.2428, allocations: 35.98 kB / 0.5142 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.2433, allocations: 103.9 kB / 0.5143 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.2435, allocations: 120.7 kB / 0.5144 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.2435, allocations: 39.98 kB / 0.5144 GB, free: 9.832 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007325/0.2443, allocations: 0.8108 MB / 0.5152 GB, free: 9.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2443, allocations: 0 / 0.5152 GB, free: 9.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001911/0.2462, allocations: 0.789 MB / 0.516 GB, free: 8.227 MB / 410.7 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 (105): * Single equations (assignments): 97 * 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.00368/0.2499, allocations: 3.832 MB / 0.5197 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005687/0.2555, allocations: 6.423 MB / 0.526 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2556, allocations: 4 kB / 0.526 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.2576, allocations: 2.692 MB / 0.5286 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.2587, allocations: 406.5 kB / 0.529 GB, free: 10.5 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1886:3-1886:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.2712, allocations: 12.39 MB / 0.5411 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000908/0.2721, allocations: 1.275 MB / 0.5424 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007254/0.2729, allocations: 424.1 kB / 0.5428 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009327/0.2738, allocations: 0.8713 MB / 0.5436 GB, free: 11.01 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2738, allocations: 0 / 0.5436 GB, free: 11.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2559/0.5297, allocations: 52.49 MB / 0.5949 GB, free: 153.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.642/9.172, allocations: 8.812 kB / 0.5949 GB, free: 153.9 MB / 474.7 MB " [Timeout remaining time 651] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-cvode.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-euler.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy_res.csv --start-time 0 --stop-time 12 --timeout 240 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 12.307742580771446]