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.0009618/0.0009618, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.000982/0.000982, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 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.987/0.987, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8805/0.8805, allocations: 154.9 MB / 414.8 MB, free: 392 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 2.565e-06/2.565e-06, allocations: 0 / 0.5207 GB, free: 1.852 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.679e-05/3.935e-05, allocations: 6.797 kB / 0.5207 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005388/0.005428, allocations: 2.489 MB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.008069, allocations: 1.247 MB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.008331, allocations: 7.938 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.009042, allocations: 96.47 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006342/0.009676, allocations: 183.6 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.01026, allocations: 173.4 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.01079, allocations: 326.8 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.01119, allocations: 170.6 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004251/0.01162, allocations: 199.5 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.01202, allocations: 151.6 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.01207, allocations: 20.5 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.01242, allocations: 161.1 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.01256, allocations: 111.7 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.01268, allocations: 87.77 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.01325, allocations: 291.1 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.01326, allocations: 0.75 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.01326, allocations: 0 / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.01327, allocations: 1.094 kB / 0.5262 GB, free: 12.18 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.001106/0.01438, allocations: 0.5712 MB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.01442, allocations: 12.03 kB / 0.5268 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007751/0.0152, allocations: 138.9 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.01554, allocations: 205.4 kB / 0.5271 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.01557, allocations: 16.86 kB / 0.5271 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.01569, allocations: 24.56 kB / 0.5272 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.01619, allocations: 303.2 kB / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.01621, allocations: 13.67 kB / 0.5275 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.01625, allocations: 12.12 kB / 0.5275 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.01636, allocations: 28.47 kB / 0.5275 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.01668, allocations: 127.4 kB / 0.5276 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.01859, allocations: 1.18 MB / 0.5288 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.01898, allocations: 162.8 kB / 0.5289 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.01908, allocations: 48.36 kB / 0.529 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.01921, allocations: 9.031 kB / 0.529 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.01925, allocations: 41.38 kB / 0.529 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 5.831e-06/0.01926, allocations: 0.625 kB / 0.529 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.000926/0.02018, allocations: 465.3 kB / 0.5295 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.02021, allocations: 54.16 kB / 0.5295 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.02037, allocations: 233.8 kB / 0.5297 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.02039, allocations: 25.7 kB / 0.5298 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.02049, allocations: 211.2 kB / 0.53 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.02053, allocations: 75.38 kB / 0.53 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.68e-05/0.0206, allocations: 55.36 kB / 0.5301 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.02072, allocations: 0.5001 MB / 0.5306 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.02079, allocations: 54.94 kB / 0.5306 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.02089, allocations: 117.8 kB / 0.5307 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.02107, allocations: 177.7 kB / 0.5309 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.02107, allocations: 1.5 kB / 0.5309 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004273/0.0215, allocations: 277.3 kB / 0.5312 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.02151, allocations: 7.984 kB / 0.5312 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.02152, allocations: 4 kB / 0.5312 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.02191, allocations: 103.1 kB / 0.5313 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.02206, allocations: 60.73 kB / 0.5313 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.02325, allocations: 1.923 MB / 0.5332 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.02335, allocations: 15.98 kB / 0.5332 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.02336, allocations: 10.42 kB / 0.5332 GB, free: 4.531 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 0.0001106/0.02348, allocations: 172.5 kB / 0.5334 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.02351, allocations: 23.84 kB / 0.5334 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.02376, allocations: 183.3 kB / 0.5336 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.02376, allocations: 4 kB / 0.5336 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.02376, allocations: 0 / 0.5336 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.02377, allocations: 0 / 0.5336 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.02424, allocations: 0.527 MB / 0.5341 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02424, allocations: 3.938 kB / 0.5341 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.02441, allocations: 59.89 kB / 0.5342 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.02442, allocations: 1.219 kB / 0.5342 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.02444, allocations: 8 kB / 0.5342 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02444, allocations: 0 / 0.5342 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.02444, allocations: 7.984 kB / 0.5342 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.02475, allocations: 373.6 kB / 0.5346 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.02481, allocations: 43.81 kB / 0.5346 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.02484, allocations: 9.75 kB / 0.5346 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.02492, allocations: 7.984 kB / 0.5346 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.02495, allocations: 15.98 kB / 0.5346 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.02496, allocations: 7.938 kB / 0.5346 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.595e-05/0.02505, allocations: 170.4 kB / 0.5348 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02505, allocations: 0.625 kB / 0.5348 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000264/0.02531, allocations: 71.94 kB / 0.5349 GB, free: 2.785 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 0.0001782/0.02549, allocations: 105.6 kB / 0.535 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.02603, allocations: 358.7 kB / 0.5353 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.02603, allocations: 0 / 0.5353 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.02611, allocations: 78.19 kB / 0.5354 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.0264, allocations: 41.08 kB / 0.5354 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.02751, allocations: 0.5392 MB / 0.536 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.613e-05/0.02757, allocations: 105.2 kB / 0.5361 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.02767, allocations: 46.72 kB / 0.5361 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.02772, allocations: 16.5 kB / 0.5361 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of SimCode: time 1.503e-06/0.02772, allocations: 0 / 0.5361 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of Templates: time 0.0055/0.03322, allocations: 2.907 MB / 0.539 GB, free: 14.7 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.9962116428650916]