Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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_latest_AixLib.Electrical.Machines.Examples.InductionMotor") translateModel(AixLib.Electrical.Machines.Examples.InductionMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AixLib_latest_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.001236/0.001236, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.0009764/0.0009764, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.249/1.249, allocations: 222.9 MB / 241.1 MB, free: 15.21 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.05557/0.05557, allocations: 12.06 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005149/0.0005149, allocations: 31.94 kB / 356.3 MB, free: 14 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.779/1.779, allocations: 272.3 MB / 0.6657 GB, free: 18.25 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 111.8 kB / 0.8935 GB, free: 15.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4453, allocations: 109.1 MB / 1 GB, free: 8.242 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Machines.Examples.InductionMotor): time 0.002774/0.4481, allocations: 2.296 MB / 1.002 GB, free: 6.441 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.4491, allocations: 0.7076 MB / 1.003 GB, free: 5.867 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.4493, allocations: 2.875 kB / 1.003 GB, free: 5.867 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.4494, allocations: 30.56 kB / 1.003 GB, free: 5.84 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.4498, allocations: 120 kB / 1.003 GB, free: 5.738 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.45, allocations: 99.41 kB / 1.003 GB, free: 5.656 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.4503, allocations: 339.5 kB / 1.004 GB, free: 5.457 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.4505, allocations: 77.88 kB / 1.004 GB, free: 5.406 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.4507, allocations: 148.1 kB / 1.004 GB, free: 5.316 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.4509, allocations: 164.3 kB / 1.004 GB, free: 5.203 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.4509, allocations: 31.12 kB / 1.004 GB, free: 5.203 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 5.717e-05/0.451, allocations: 34.5 kB / 1.004 GB, free: 5.199 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.4511, allocations: 79.73 kB / 1.004 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.4512, allocations: 134.7 kB / 1.004 GB, free: 5.027 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.4515, allocations: 310.8 kB / 1.005 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4515, allocations: 0 / 1.005 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4515, allocations: 1.156 kB / 1.005 GB, free: 4.801 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4515, allocations: 0 / 1.005 GB, free: 4.801 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.001094/0.4526, allocations: 0.5694 MB / 1.005 GB, free: 4.281 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.4526, allocations: 8.344 kB / 1.005 GB, free: 4.281 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.4527, allocations: 35.78 kB / 1.005 GB, free: 4.262 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.453, allocations: 295.8 kB / 1.005 GB, free: 3.973 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.4531, allocations: 52 kB / 1.005 GB, free: 3.93 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.4532, allocations: 20.12 kB / 1.005 GB, free: 3.922 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.4535, allocations: 240.4 kB / 1.006 GB, free: 3.762 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4536, allocations: 0.875 kB / 1.006 GB, free: 3.762 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.4536, allocations: 10.22 kB / 1.006 GB, free: 3.754 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4536, allocations: 4.438 kB / 1.006 GB, free: 3.754 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.454, allocations: 183.6 kB / 1.006 GB, free: 3.668 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.455, allocations: 0.8549 MB / 1.007 GB, free: 2.918 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.4553, allocations: 169.1 kB / 1.007 GB, free: 2.82 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.4555, allocations: 81.14 kB / 1.007 GB, free: 2.773 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.4555, allocations: 2.375 kB / 1.007 GB, free: 2.773 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.4557, allocations: 143.2 kB / 1.007 GB, free: 2.664 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.4557, allocations: 7.922 kB / 1.007 GB, free: 2.656 MB / 0.6857 GB Notification: Performance of matching and sorting (n=21): time 0.001527/0.4573, allocations: 0.7766 MB / 1.008 GB, free: 2.039 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/0.4573, allocations: 58.25 kB / 1.008 GB, free: 1.973 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.4575, allocations: 232.2 kB / 1.008 GB, free: 1.805 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4576, allocations: 31.08 kB / 1.008 GB, free: 1.77 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.4576, allocations: 151 kB / 1.008 GB, free: 1.629 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.4577, allocations: 69.11 kB / 1.008 GB, free: 1.57 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.4578, allocations: 49.08 kB / 1.008 GB, free: 1.527 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.205e-05/0.4578, allocations: 328 kB / 1.009 GB, free: 1.203 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.458, allocations: 71.52 kB / 1.009 GB, free: 1.168 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.4581, allocations: 122.2 kB / 1.009 GB, free: 1.074 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.4584, allocations: 187.8 kB / 1.009 GB, free: 0.9453 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4584, allocations: 5.406 kB / 1.009 GB, free: 0.9414 MB / 0.6857 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005534/0.459, allocations: 278 kB / 1.009 GB, free: 0.7812 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.459, allocations: 5.375 kB / 1.009 GB, free: 0.7812 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.459, allocations: 1.125 kB / 1.009 GB, free: 0.7812 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.4592, allocations: 43.83 kB / 1.009 GB, free: 0.7539 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.4594, allocations: 43.53 kB / 1.009 GB, free: 0.7422 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.4605, allocations: 1.415 MB / 1.011 GB, free: 15.28 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.4608, allocations: 15.8 kB / 1.011 GB, free: 15.27 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.4609, allocations: 14.02 kB / 1.011 GB, free: 15.27 MB / 0.7013 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.0001288/0.461, allocations: 137 kB / 1.011 GB, free: 15.13 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.461, allocations: 21.11 kB / 1.011 GB, free: 15.12 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.4611, allocations: 30.36 kB / 1.011 GB, free: 15.09 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4611, allocations: 0 / 1.011 GB, free: 15.09 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4611, allocations: 3.938 kB / 1.011 GB, free: 15.09 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.4612, allocations: 105.6 kB / 1.011 GB, free: 14.97 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.4612, allocations: 2.219 kB / 1.011 GB, free: 14.97 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.4615, allocations: 14.67 kB / 1.011 GB, free: 14.96 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.4616, allocations: 19.69 kB / 1.011 GB, free: 14.95 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008022/0.4624, allocations: 330 kB / 1.012 GB, free: 14.73 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006634/0.463, allocations: 0.4972 MB / 1.012 GB, free: 14.36 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000175/0.4632, allocations: 89.34 kB / 1.012 GB, free: 14.31 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0001998/0.4634, allocations: 174.7 kB / 1.012 GB, free: 14.18 MB / 0.7013 GB Notification: Performance of Backend: time 7.21e-07/0.4634, allocations: 1.188 kB / 1.012 GB, free: 14.18 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0007123/0.4642, allocations: 307.1 kB / 1.013 GB, free: 13.95 MB / 0.7013 GB Notification: Performance of SimCode: time 0.0009884/0.4652, allocations: 0.986 MB / 1.013 GB, free: 13.07 MB / 0.7013 GB Notification: Performance of Templates: time 0.00698/0.4722, allocations: 3.676 MB / 1.017 GB, free: 11.21 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Electrical.Machines.Examples.InductionMotor.makefile (rm -f AixLib_latest_AixLib.Electrical.Machines.Examples.InductionMotor.pipe ; mkfifo AixLib_latest_AixLib.Electrical.Machines.Examples.InductionMotor.pipe ; head -c 1048576 < AixLib_latest_AixLib.Electrical.Machines.Examples.InductionMotor.pipe >> ../files/AixLib_latest_AixLib.Electrical.Machines.Examples.InductionMotor.sim & ./AixLib_latest_AixLib.Electrical.Machines.Examples.InductionMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Electrical.Machines.Examples.InductionMotor.pipe 2>&1)