Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.conf.json 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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/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) Running command: translateModel(AixLib.Electrical.Machines.Examples.InductionMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Machines.Examples.InductionMotor") translateModel(AixLib.Electrical.Machines.Examples.InductionMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Machines.Examples.InductionMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 110.5 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 190.7 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05293/0.05293, allocations: 12.04 MB / 303.3 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005118/0.0005117, allocations: 31.91 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.39/1.39, allocations: 268.2 MB / 0.6617 GB, free: 2.602 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 119.8 kB / 0.888 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4304, allocations: 108.4 MB / 0.9938 GB, free: 1.184 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Machines.Examples.InductionMotor): time 0.003157/0.4336, allocations: 2.29 MB / 0.996 GB, free: 14.88 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.4347, allocations: 0.7093 MB / 0.9967 GB, free: 14.16 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.4349, allocations: 4 kB / 0.9967 GB, free: 14.16 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.435, allocations: 31.59 kB / 0.9967 GB, free: 14.13 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.4354, allocations: 115.8 kB / 0.9969 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.4356, allocations: 93.86 kB / 0.9969 GB, free: 13.93 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.436, allocations: 346.9 kB / 0.9973 GB, free: 13.59 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.4361, allocations: 80.02 kB / 0.9974 GB, free: 13.5 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.4363, allocations: 147.5 kB / 0.9975 GB, free: 13.36 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.4366, allocations: 171.3 kB / 0.9977 GB, free: 13.19 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.4366, allocations: 32 kB / 0.9977 GB, free: 13.16 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 4.66e-05/0.4367, allocations: 32 kB / 0.9977 GB, free: 13.13 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.4368, allocations: 75.73 kB / 0.9978 GB, free: 13.05 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.4369, allocations: 143.3 kB / 0.9979 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.4372, allocations: 302.4 kB / 0.9982 GB, free: 12.62 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4372, allocations: 0 / 0.9982 GB, free: 12.62 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4372, allocations: 0 / 0.9982 GB, free: 12.62 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.4372, allocations: 0 / 0.9982 GB, free: 12.62 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001146/0.4384, allocations: 0.5685 MB / 0.9988 GB, free: 12 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.4384, allocations: 11.97 kB / 0.9988 GB, free: 11.99 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.115e-05/0.4385, allocations: 36.73 kB / 0.9988 GB, free: 11.96 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.4389, allocations: 299.8 kB / 0.9991 GB, free: 11.62 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.439, allocations: 46.69 kB / 0.9992 GB, free: 11.57 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.439, allocations: 20.38 kB / 0.9992 GB, free: 11.55 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.4394, allocations: 237.8 kB / 0.9994 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4395, allocations: 4 kB / 0.9994 GB, free: 11.31 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.4395, allocations: 12 kB / 0.9994 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4395, allocations: 4 kB / 0.9994 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.4399, allocations: 188.9 kB / 0.9996 GB, free: 11.11 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.4411, allocations: 0.851 MB / 1 GB, free: 10.2 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.4414, allocations: 162.6 kB / 1.001 GB, free: 10.03 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.4415, allocations: 80.83 kB / 1.001 GB, free: 9.949 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.4416, allocations: 4 kB / 1.001 GB, free: 9.945 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.4418, allocations: 148.9 kB / 1.001 GB, free: 9.789 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.4418, allocations: 0 / 1.001 GB, free: 9.789 MB / 0.6857 GB Notification: Performance of matching and sorting (n=21): time 0.001639/0.4435, allocations: 0.7704 MB / 1.002 GB, free: 8.945 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.4435, allocations: 63.34 kB / 1.002 GB, free: 8.871 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.4438, allocations: 229.9 kB / 1.002 GB, free: 8.637 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4438, allocations: 33.7 kB / 1.002 GB, free: 8.598 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.4439, allocations: 148.4 kB / 1.002 GB, free: 8.449 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.444, allocations: 75.41 kB / 1.002 GB, free: 8.375 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.4441, allocations: 49.92 kB / 1.002 GB, free: 8.316 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4442, allocations: 326.8 kB / 1.002 GB, free: 7.988 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4443, allocations: 72.42 kB / 1.003 GB, free: 7.918 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.4445, allocations: 124.1 kB / 1.003 GB, free: 7.781 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.4448, allocations: 195.5 kB / 1.003 GB, free: 7.574 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4448, allocations: 0 / 1.003 GB, free: 7.574 MB / 0.6857 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000577/0.4454, allocations: 270.1 kB / 1.003 GB, free: 7.301 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4454, allocations: 4 kB / 1.003 GB, free: 7.297 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4455, allocations: 11.92 kB / 1.003 GB, free: 7.285 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.4456, allocations: 40.83 kB / 1.003 GB, free: 7.242 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.4459, allocations: 44.06 kB / 1.003 GB, free: 7.199 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.4471, allocations: 1.418 MB / 1.005 GB, free: 5.645 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.4473, allocations: 11.98 kB / 1.005 GB, free: 5.633 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.4474, allocations: 12 kB / 1.005 GB, free: 5.621 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,inductionMachine.SwitchOnOff,inductionMachine.OpMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.4475, allocations: 133.8 kB / 1.005 GB, free: 5.48 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.4475, allocations: 19.86 kB / 1.005 GB, free: 5.461 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.4476, allocations: 29.86 kB / 1.005 GB, free: 5.43 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4476, allocations: 4.047 kB / 1.005 GB, free: 5.426 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4476, allocations: 4 kB / 1.005 GB, free: 5.422 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.4477, allocations: 104.9 kB / 1.005 GB, free: 5.301 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.4477, allocations: 4 kB / 1.005 GB, free: 5.297 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.448, allocations: 11.98 kB / 1.005 GB, free: 5.285 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.448, allocations: 19.97 kB / 1.005 GB, free: 5.266 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007712/0.4488, allocations: 334.1 kB / 1.005 GB, free: 4.93 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000624/0.4494, allocations: 0.4921 MB / 1.006 GB, free: 4.422 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001606/0.4496, allocations: 89.5 kB / 1.006 GB, free: 4.336 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001842/0.4498, allocations: 171.2 kB / 1.006 GB, free: 4.168 MB / 0.6857 GB Notification: Performance of Backend: time 3e-07/0.4498, allocations: 0 / 1.006 GB, free: 4.168 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0006896/0.4505, allocations: 317.1 kB / 1.006 GB, free: 3.84 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0009634/0.4515, allocations: 0.9821 MB / 1.007 GB, free: 2.816 MB / 0.6857 GB Notification: Performance of Templates: time 0.006587/0.4581, allocations: 3.689 MB / 1.011 GB, free: 15.17 MB / 0.7013 GB make -j1 -f AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.makefile (rm -f AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.pipe ; mkfifo AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.pipe >> ../files/AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.sim & ./AixLib_AixLib.Electrical.Machines.Examples.InductionMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.pipe 2>&1)