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.001028/0.001028, allocations: 109.1 kB / 16.42 MB, free: 6.516 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.0009619/0.0009619, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.243/1.243, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.05533/0.05533, allocations: 12.04 MB / 303.2 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.0005183/0.0005183, allocations: 23.95 kB / 356.3 MB, free: 13.97 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.813/1.813, allocations: 272.3 MB / 0.6657 GB, free: 18.2 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 111.8 kB / 0.8935 GB, free: 15.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4533, allocations: 109.1 MB / 1 GB, free: 8.168 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Machines.Examples.InductionMotor): time 0.002618/0.456, allocations: 2.289 MB / 1.002 GB, free: 6.375 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.000896/0.4569, allocations: 0.7076 MB / 1.003 GB, free: 5.801 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.457, allocations: 7.562 kB / 1.003 GB, free: 5.797 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.4571, allocations: 29.75 kB / 1.003 GB, free: 5.77 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.4574, allocations: 113.5 kB / 1.003 GB, free: 5.672 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.4576, allocations: 101.6 kB / 1.003 GB, free: 5.586 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.4579, allocations: 344.3 kB / 1.004 GB, free: 5.383 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.458, allocations: 81.8 kB / 1.004 GB, free: 5.332 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.4582, allocations: 140 kB / 1.004 GB, free: 5.25 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.4584, allocations: 171.8 kB / 1.004 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.4585, allocations: 30.91 kB / 1.004 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 5.452e-05/0.4585, allocations: 31.41 kB / 1.004 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.4586, allocations: 74.83 kB / 1.004 GB, free: 5.062 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.4587, allocations: 134.8 kB / 1.004 GB, free: 4.961 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.4589, allocations: 313.9 kB / 1.005 GB, free: 4.73 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4589, allocations: 5.125 kB / 1.005 GB, free: 4.727 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4589, allocations: 0 / 1.005 GB, free: 4.727 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.459, allocations: 3.938 kB / 1.005 GB, free: 4.723 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.001086/0.46, allocations: 0.5589 MB / 1.005 GB, free: 4.215 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.4601, allocations: 7.906 kB / 1.005 GB, free: 4.215 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.4602, allocations: 26.88 kB / 1.005 GB, free: 4.203 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.4605, allocations: 292.5 kB / 1.005 GB, free: 3.918 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/0.4606, allocations: 51.28 kB / 1.005 GB, free: 3.875 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.4606, allocations: 21.34 kB / 1.005 GB, free: 3.867 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.461, allocations: 239.9 kB / 1.006 GB, free: 3.707 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.461, allocations: 9.156 kB / 1.006 GB, free: 3.699 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.461, allocations: 9.109 kB / 1.006 GB, free: 3.691 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.461, allocations: 5.594 kB / 1.006 GB, free: 3.691 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.4614, allocations: 183 kB / 1.006 GB, free: 3.605 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.4624, allocations: 0.8587 MB / 1.007 GB, free: 2.852 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.4627, allocations: 168.7 kB / 1.007 GB, free: 2.754 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.4629, allocations: 81.77 kB / 1.007 GB, free: 2.707 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4629, allocations: 2.281 kB / 1.007 GB, free: 2.707 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.4631, allocations: 143.6 kB / 1.007 GB, free: 2.598 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.4631, allocations: 0 / 1.007 GB, free: 2.598 MB / 0.6857 GB Notification: Performance of matching and sorting (n=21): time 0.001535/0.4647, allocations: 0.7647 MB / 1.008 GB, free: 1.992 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.4647, allocations: 56.88 kB / 1.008 GB, free: 1.926 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.4649, allocations: 236.7 kB / 1.008 GB, free: 1.754 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.465, allocations: 30.86 kB / 1.008 GB, free: 1.719 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.465, allocations: 151.3 kB / 1.008 GB, free: 1.578 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.4651, allocations: 63.31 kB / 1.008 GB, free: 1.523 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.4652, allocations: 55.02 kB / 1.008 GB, free: 1.477 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.4652, allocations: 330.9 kB / 1.009 GB, free: 1.148 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.4654, allocations: 70.78 kB / 1.009 GB, free: 1.113 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.4655, allocations: 118.9 kB / 1.009 GB, free: 1.023 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.4658, allocations: 185.1 kB / 1.009 GB, free: 0.8984 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4658, allocations: 0 / 1.009 GB, free: 0.8984 MB / 0.6857 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005492/0.4664, allocations: 289.3 kB / 1.009 GB, free: 0.7266 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4664, allocations: 10.75 kB / 1.009 GB, free: 0.7227 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.4664, allocations: 1.5 kB / 1.009 GB, free: 0.7227 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.4666, allocations: 34.88 kB / 1.009 GB, free: 0.7031 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.4668, allocations: 47.3 kB / 1.009 GB, free: 0.6875 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.4679, allocations: 1.415 MB / 1.011 GB, free: 15.23 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.4682, allocations: 15.33 kB / 1.011 GB, free: 15.22 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.4683, allocations: 10.98 kB / 1.011 GB, free: 15.21 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.0001244/0.4684, allocations: 142.1 kB / 1.011 GB, free: 15.08 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.4685, allocations: 15.41 kB / 1.011 GB, free: 15.07 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.4685, allocations: 26.36 kB / 1.011 GB, free: 15.05 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.4685, allocations: 3.938 kB / 1.011 GB, free: 15.04 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4685, allocations: 1.156 kB / 1.011 GB, free: 15.04 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.4686, allocations: 100.9 kB / 1.011 GB, free: 14.93 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.4686, allocations: 6.031 kB / 1.011 GB, free: 14.93 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.4689, allocations: 10.33 kB / 1.011 GB, free: 14.92 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.469, allocations: 27.22 kB / 1.011 GB, free: 14.9 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000805/0.4698, allocations: 325.9 kB / 1.011 GB, free: 14.68 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006578/0.4705, allocations: 0.4939 MB / 1.012 GB, free: 14.31 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001725/0.4707, allocations: 97.58 kB / 1.012 GB, free: 14.26 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0001947/0.4709, allocations: 175 kB / 1.012 GB, free: 14.13 MB / 0.7013 GB Notification: Performance of Backend: time 5.01e-07/0.4709, allocations: 0 / 1.012 GB, free: 14.13 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0007356/0.4716, allocations: 304.4 kB / 1.013 GB, free: 13.9 MB / 0.7013 GB Notification: Performance of SimCode: time 0.00103/0.4726, allocations: 0.9715 MB / 1.013 GB, free: 13.04 MB / 0.7013 GB Notification: Performance of Templates: time 0.006825/0.4795, allocations: 3.69 MB / 1.017 GB, free: 11.17 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)