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.00134/0.00134, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001564/0.001564, allocations: 169 kB / 24.05 MB, free: 460 kB / 18.57 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.964/0.964, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.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-535:34: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-535:42: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.7986/0.7986, allocations: 154.9 MB / 415.9 MB, free: 268 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.011e-06/1.011e-06, allocations: 0 / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.377e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003835/0.003859, allocations: 2.469 MB / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.006067, allocations: 1.236 MB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.006214, allocations: 7.938 kB / 0.5255 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.00657, allocations: 92.72 kB / 0.5256 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.006908, allocations: 187.6 kB / 0.5258 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.007212, allocations: 165.3 kB / 0.5259 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.007497, allocations: 330.9 kB / 0.5262 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.00771, allocations: 174.5 kB / 0.5264 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.007912, allocations: 191.5 kB / 0.5266 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.00813, allocations: 152.1 kB / 0.5267 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.008155, allocations: 24 kB / 0.5268 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.008348, allocations: 168.8 kB / 0.5269 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.00843, allocations: 107.7 kB / 0.527 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.008495, allocations: 87.81 kB / 0.5271 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.008789, allocations: 295.7 kB / 0.5274 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.008792, allocations: 0 / 0.5274 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.008793, allocations: 0.6562 kB / 0.5274 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.008797, allocations: 0 / 0.5274 GB, free: 11.88 MB / 0.4948 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.0005172/0.009314, allocations: 0.5675 MB / 0.528 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.38e-05/0.009338, allocations: 9 kB / 0.528 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.009734, allocations: 124.5 kB / 0.5281 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.009908, allocations: 194 kB / 0.5283 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.009928, allocations: 16.86 kB / 0.5283 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.009985, allocations: 32.52 kB / 0.5283 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.01022, allocations: 287.1 kB / 0.5286 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.01023, allocations: 192 / 0.5286 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.01026, allocations: 20.11 kB / 0.5286 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.01031, allocations: 28.47 kB / 0.5286 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.01044, allocations: 99.91 kB / 0.5287 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.01124, allocations: 1.134 MB / 0.5298 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.01141, allocations: 122.5 kB / 0.5299 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.01145, allocations: 43.66 kB / 0.53 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.0115, allocations: 8 kB / 0.53 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.01152, allocations: 34.14 kB / 0.53 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.01152, allocations: 4 kB / 0.53 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0004854/0.01201, allocations: 393.4 kB / 0.5304 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.01203, allocations: 55.41 kB / 0.5305 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.01213, allocations: 229.7 kB / 0.5307 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.01215, allocations: 33.7 kB / 0.5307 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.01222, allocations: 218 kB / 0.5309 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.01226, allocations: 75.3 kB / 0.531 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.01232, allocations: 59.34 kB / 0.5311 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.01242, allocations: 0.4962 MB / 0.5315 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.43e-05/0.01246, allocations: 35.97 kB / 0.5316 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.01254, allocations: 113.7 kB / 0.5317 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.01267, allocations: 159.5 kB / 0.5318 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01267, allocations: 0.9375 kB / 0.5318 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003113/0.01298, allocations: 249.1 kB / 0.5321 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.01299, allocations: 8.531 kB / 0.5321 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.013, allocations: 3.031 kB / 0.5321 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.01331, allocations: 114.6 kB / 0.5322 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.01342, allocations: 47.91 kB / 0.5322 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.01454, allocations: 1.882 MB / 0.5341 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.376e-05/0.01463, allocations: 11.98 kB / 0.5341 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01464, allocations: 4 kB / 0.5341 GB, free: 4.602 MB / 0.4948 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.473e-05/0.01472, allocations: 172.5 kB / 0.5343 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.01476, allocations: 31.78 kB / 0.5343 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.01495, allocations: 168.2 kB / 0.5344 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01495, allocations: 4 kB / 0.5344 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01495, allocations: 192 / 0.5344 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01496, allocations: 7.984 kB / 0.5345 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.01533, allocations: 473.2 kB / 0.5349 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01533, allocations: 7.938 kB / 0.5349 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.01547, allocations: 47.91 kB / 0.535 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01547, allocations: 6.594 kB / 0.535 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01548, allocations: 4 kB / 0.535 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01548, allocations: 4 kB / 0.535 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01548, allocations: 0 / 0.535 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.01572, allocations: 351.8 kB / 0.5353 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.01577, allocations: 31.88 kB / 0.5353 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.01579, allocations: 12.58 kB / 0.5354 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.01586, allocations: 0 / 0.5354 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.01588, allocations: 22.38 kB / 0.5354 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.01589, allocations: 4 kB / 0.5354 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.385e-05/0.01595, allocations: 166.4 kB / 0.5355 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01595, allocations: 0 / 0.5355 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002174/0.01617, allocations: 60 kB / 0.5356 GB, free: 2.992 MB / 0.4948 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 9.999e-05/0.01627, allocations: 108.1 kB / 0.5357 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.01659, allocations: 359.4 kB / 0.536 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0166, allocations: 0 / 0.536 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.497e-05/0.01665, allocations: 58.56 kB / 0.5361 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.01687, allocations: 47.58 kB / 0.5361 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.01764, allocations: 0.5356 MB / 0.5367 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.0177, allocations: 100.3 kB / 0.5368 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.412e-05/0.01777, allocations: 26.16 kB / 0.5368 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.01787, allocations: 106.7 kB / 0.5369 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.01787, allocations: 0 / 0.5369 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of Templates: time 0.004349/0.02222, allocations: 3.029 MB / 0.5398 GB, free: 14.74 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.970136246178299]