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.001389/0.001389, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001698/0.001698, allocations: 213.2 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 1.322/1.322, allocations: 203.8 MB / 0.5041 GB, free: 4.793 MB / 414.1 MB " [Timeout remaining time 178] 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.002369/0.002369, allocations: 71.89 kB / 0.7186 GB, free: 2 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5817/0.5841, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004853/0.5889, allocations: 3.077 MB / 0.8213 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.592, allocations: 1.701 MB / 0.8229 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.5922, allocations: 4.312 kB / 0.8229 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.5933, allocations: 336.7 kB / 0.8232 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0006552/0.594, allocations: 211.8 kB / 0.8235 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.5946, allocations: 184.2 kB / 0.8236 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000451/0.595, allocations: 320.2 kB / 0.8239 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.5954, allocations: 170.5 kB / 0.8241 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.5958, allocations: 144.8 kB / 0.8242 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.5961, allocations: 166.5 kB / 0.8244 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.5962, allocations: 21.38 kB / 0.8244 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.5966, allocations: 218 kB / 0.8246 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.5968, allocations: 109 kB / 0.8247 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.5969, allocations: 101.1 kB / 0.8248 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.5975, allocations: 418.2 kB / 0.8252 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5975, allocations: 2.422 kB / 0.8252 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5975, allocations: 0 / 0.8252 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5975, allocations: 1.281 kB / 0.8252 GB, free: 24.89 MB / 0.6387 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.0009773/0.5985, allocations: 499.6 kB / 0.8257 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5985, allocations: 12.59 kB / 0.8257 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007637/0.5993, allocations: 95.95 kB / 0.8258 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.5997, allocations: 196.2 kB / 0.826 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.5997, allocations: 24.86 kB / 0.826 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.5998, allocations: 26.48 kB / 0.826 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.6005, allocations: 428.7 kB / 0.8264 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.6005, allocations: 1.75 kB / 0.8264 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.6005, allocations: 10.44 kB / 0.8265 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.6006, allocations: 26.77 kB / 0.8265 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.6011, allocations: 311.1 kB / 0.8268 GB, free: 23.93 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.6027, allocations: 1.037 MB / 0.8278 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.6032, allocations: 206.3 kB / 0.828 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.6034, allocations: 110.6 kB / 0.8281 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.6035, allocations: 13.11 kB / 0.8281 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.6036, allocations: 36.88 kB / 0.8281 GB, free: 23.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.6036, allocations: 0 / 0.8281 GB, free: 23.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001305/0.6049, allocations: 0.7249 MB / 0.8289 GB, free: 22.63 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.6049, allocations: 54.16 kB / 0.8289 GB, free: 22.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.6051, allocations: 186.6 kB / 0.8291 GB, free: 22.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.6051, allocations: 29.7 kB / 0.8291 GB, free: 22.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.6052, allocations: 179.2 kB / 0.8293 GB, free: 22.25 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.6052, allocations: 67.31 kB / 0.8293 GB, free: 22.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.6053, allocations: 56.58 kB / 0.8294 GB, free: 22.16 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.6054, allocations: 329.3 kB / 0.8297 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.6056, allocations: 113.8 kB / 0.8298 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.6058, allocations: 162.9 kB / 0.83 GB, free: 21.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.6062, allocations: 304.5 kB / 0.8303 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6062, allocations: 0.6094 kB / 0.8303 GB, free: 21.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007907/0.607, allocations: 410.9 kB / 0.8307 GB, free: 21.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.607, allocations: 9.688 kB / 0.8307 GB, free: 21.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.607, allocations: 2.75 kB / 0.8307 GB, free: 21.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.6075, allocations: 104.3 kB / 0.8308 GB, free: 21.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.6077, allocations: 51.69 kB / 0.8308 GB, free: 21.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.6095, allocations: 1.738 MB / 0.8325 GB, free: 19.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.6098, allocations: 16.77 kB / 0.8325 GB, free: 19.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.6098, allocations: 13.06 kB / 0.8325 GB, free: 19.91 MB / 0.6387 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 0.0001809/0.61, allocations: 160.3 kB / 0.8327 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.61, allocations: 16.94 kB / 0.8327 GB, free: 19.76 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005277/0.6106, allocations: 294.2 kB / 0.833 GB, free: 19.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6106, allocations: 2.156 kB / 0.833 GB, free: 19.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.6106, allocations: 1.766 kB / 0.833 GB, free: 19.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6106, allocations: 0.9375 kB / 0.833 GB, free: 19.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000968/0.6116, allocations: 0.6284 MB / 0.8336 GB, free: 19.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6116, allocations: 0.6562 kB / 0.8336 GB, free: 19.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.6119, allocations: 58.52 kB / 0.8337 GB, free: 19.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6119, allocations: 4.969 kB / 0.8337 GB, free: 19.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.6119, allocations: 7.625 kB / 0.8337 GB, free: 19.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.6119, allocations: 6.125 kB / 0.8337 GB, free: 19.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6119, allocations: 1.219 kB / 0.8337 GB, free: 19.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008013/0.6127, allocations: 0.5125 MB / 0.8342 GB, free: 18.92 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.6128, allocations: 37.8 kB / 0.8342 GB, free: 18.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.6129, allocations: 7.766 kB / 0.8342 GB, free: 18.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.6131, allocations: 13.66 kB / 0.8342 GB, free: 18.89 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.6131, allocations: 16.08 kB / 0.8343 GB, free: 18.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.6131, allocations: 4.406 kB / 0.8343 GB, free: 18.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001582/0.6133, allocations: 138.7 kB / 0.8344 GB, free: 18.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6133, allocations: 1.094 kB / 0.8344 GB, free: 18.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004616/0.6138, allocations: 73.5 kB / 0.8345 GB, free: 18.78 MB / 0.6387 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.0001845/0.6139, allocations: 107 kB / 0.8346 GB, free: 18.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009595/0.6149, allocations: 406.6 kB / 0.835 GB, free: 18.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6149, allocations: 384 / 0.835 GB, free: 18.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.6152, allocations: 120.5 kB / 0.8351 GB, free: 18.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.6156, allocations: 28.38 kB / 0.8351 GB, free: 18.43 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.617, allocations: 0.6296 MB / 0.8357 GB, free: 18.05 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.6172, allocations: 168.8 kB / 0.8359 GB, free: 17.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.6174, allocations: 58.33 kB / 0.8359 GB, free: 17.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.6175, allocations: 18.52 kB / 0.836 GB, free: 17.94 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.6175, allocations: 0 / 0.836 GB, free: 17.94 MB / 0.6387 GB Notification: Performance of Templates: time 0.008062/0.6255, allocations: 2.994 MB / 0.8389 GB, free: 17.62 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.973852775990963] Failed to read output from testmodel.py, exit status != 0: 0.6344132479280233 0.648643003 0.047642811 Calling exit ...