Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json 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.0007884/0.0007884, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0007926/0.0007926, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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.8789/0.8789, allocations: 230.6 MB / 256.8 MB, free: 3.422 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7412/0.7412, allocations: 203.8 MB / 0.5049 GB, free: 0.668 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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) Running command: translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 67.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.427, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00339/0.4304, allocations: 3.209 MB / 0.8222 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.4324, allocations: 1.82 MB / 0.824 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.4325, allocations: 5.406 kB / 0.824 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006973/0.4332, allocations: 352.6 kB / 0.8243 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.4336, allocations: 211.8 kB / 0.8245 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.434, allocations: 183.8 kB / 0.8247 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.4343, allocations: 325.3 kB / 0.825 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.4346, allocations: 175.7 kB / 0.8252 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.4348, allocations: 143.7 kB / 0.8253 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.435, allocations: 178 kB / 0.8255 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.4351, allocations: 19.75 kB / 0.8255 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.4354, allocations: 248.4 kB / 0.8257 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.4355, allocations: 102.8 kB / 0.8258 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.047e-05/0.4356, allocations: 130.5 kB / 0.826 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.436, allocations: 418.7 kB / 0.8264 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.436, allocations: 0 / 0.8264 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.436, allocations: 0 / 0.8264 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.436, allocations: 0 / 0.8264 GB, free: 20.83 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006961/0.4367, allocations: 490.5 kB / 0.8268 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.4368, allocations: 12.19 kB / 0.8268 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.4372, allocations: 99.11 kB / 0.8269 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.4374, allocations: 194.5 kB / 0.8271 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4374, allocations: 22.14 kB / 0.8271 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.4375, allocations: 25.56 kB / 0.8272 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.438, allocations: 380.1 kB / 0.8275 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.438, allocations: 0 / 0.8275 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.438, allocations: 10.44 kB / 0.8275 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/0.4381, allocations: 26.39 kB / 0.8276 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.4384, allocations: 305.7 kB / 0.8279 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.4396, allocations: 1.495 MB / 0.8293 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.4398, allocations: 216.5 kB / 0.8295 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.44, allocations: 102.3 kB / 0.8296 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.75e-05/0.44, allocations: 17.81 kB / 0.8296 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.4401, allocations: 35.94 kB / 0.8297 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.4401, allocations: 0 / 0.8297 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008479/0.4409, allocations: 0.7249 MB / 0.8304 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.4409, allocations: 56.73 kB / 0.8304 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.4411, allocations: 192.8 kB / 0.8306 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.4411, allocations: 31.08 kB / 0.8307 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.4411, allocations: 158.7 kB / 0.8308 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.4412, allocations: 73.84 kB / 0.8309 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.4412, allocations: 53.67 kB / 0.8309 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.4413, allocations: 332.3 kB / 0.8312 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.4414, allocations: 113.5 kB / 0.8313 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.4415, allocations: 165.1 kB / 0.8315 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.4418, allocations: 297 kB / 0.8318 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4418, allocations: 1.125 kB / 0.8318 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005013/0.4423, allocations: 415.9 kB / 0.8322 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4423, allocations: 10.39 kB / 0.8322 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4423, allocations: 5.281 kB / 0.8322 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.4426, allocations: 101.5 kB / 0.8323 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.4427, allocations: 51.16 kB / 0.8323 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.4437, allocations: 1.785 MB / 0.8341 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4439, allocations: 23.89 kB / 0.8341 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4439, allocations: 12.67 kB / 0.8341 GB, free: 15.37 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/0.444, allocations: 159.7 kB / 0.8343 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.444, allocations: 16.75 kB / 0.8343 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.4443, allocations: 300 kB / 0.8346 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4443, allocations: 2.656 kB / 0.8346 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.4443, allocations: 0 / 0.8346 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4443, allocations: 5.109 kB / 0.8346 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.4449, allocations: 0.6758 MB / 0.8352 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4449, allocations: 4.25 kB / 0.8353 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.445, allocations: 58.61 kB / 0.8353 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.445, allocations: 2.219 kB / 0.8353 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.445, allocations: 10.66 kB / 0.8353 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.445, allocations: 2.219 kB / 0.8353 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.445, allocations: 1.031 kB / 0.8353 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.4454, allocations: 0.5191 MB / 0.8358 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.4455, allocations: 42.55 kB / 0.8359 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.4455, allocations: 1.906 kB / 0.8359 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.4456, allocations: 15.02 kB / 0.8359 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.4456, allocations: 11.25 kB / 0.8359 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.4456, allocations: 8.656 kB / 0.8359 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.457e-05/0.4457, allocations: 144.6 kB / 0.836 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4457, allocations: 0 / 0.836 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002468/0.4459, allocations: 66.25 kB / 0.8361 GB, free: 14.21 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001033/0.446, allocations: 111.4 kB / 0.8362 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.4465, allocations: 415 kB / 0.8366 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4465, allocations: 384 / 0.8366 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.4466, allocations: 120.5 kB / 0.8367 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.4469, allocations: 40.81 kB / 0.8368 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.4476, allocations: 0.6672 MB / 0.8374 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.4478, allocations: 0.7726 MB / 0.8382 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.4479, allocations: 21.89 kB / 0.8382 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.4479, allocations: 1.094 kB / 0.8382 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.004806/0.4527, allocations: 3.615 MB / 0.8417 GB, free: 12.4 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.966622855979949] Failed to read output from testmodel.py, exit status != 0: 0.4582629040814936 0.465981703 0.028298931000000003 Calling exit ...