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.001008/0.001008, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001056/0.001056, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8408/0.8408, allocations: 154.9 MB / 415.1 MB, free: 216 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.443e-06/1.443e-06, allocations: 0 / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.426e-05, allocations: 4.422 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003497/0.003522, allocations: 2.539 MB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.005423, allocations: 1.261 MB / 484.2 MB, free: 2.734 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.005571, allocations: 4.875 kB / 484.2 MB, free: 2.73 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.005965, allocations: 91.52 kB / 484.3 MB, free: 2.641 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.006345, allocations: 184.4 kB / 484.5 MB, free: 2.461 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.006736, allocations: 164.7 kB / 484.6 MB, free: 2.301 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.007117, allocations: 330.8 kB / 485 MB, free: 1.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.007402, allocations: 182.9 kB / 485.1 MB, free: 1.797 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.007669, allocations: 184.2 kB / 485.3 MB, free: 1.617 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.00794, allocations: 152.1 kB / 485.5 MB, free: 1.469 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.007968, allocations: 20 kB / 485.5 MB, free: 1.449 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.008245, allocations: 164.2 kB / 485.6 MB, free: 1.289 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.008346, allocations: 115.7 kB / 485.8 MB, free: 1.176 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.008419, allocations: 85.59 kB / 485.8 MB, free: 1.094 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.008791, allocations: 295 kB / 486.1 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.008794, allocations: 4 kB / 486.1 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008796, allocations: 0 / 486.1 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.008801, allocations: 4.719 kB / 486.1 MB, free: 0.7969 MB / 442.7 MB 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.0005445/0.009345, allocations: 448.1 kB / 486.6 MB, free: 348 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.009374, allocations: 12.03 kB / 486.6 MB, free: 336 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/0.009872, allocations: 117.3 kB / 486.7 MB, free: 220 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.01008, allocations: 182.8 kB / 486.9 MB, free: 12 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.01011, allocations: 18.17 kB / 486.9 MB, free: 15.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.01018, allocations: 32.41 kB / 486.9 MB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.01046, allocations: 275.8 kB / 487.2 MB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.01047, allocations: 5.25 kB / 487.2 MB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.01049, allocations: 8.125 kB / 487.2 MB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-05/0.01055, allocations: 32.47 kB / 487.2 MB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.01068, allocations: 88.53 kB / 487.3 MB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.01148, allocations: 0.8407 MB / 488.2 MB, free: 14.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.01167, allocations: 170.2 kB / 488.3 MB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.01171, allocations: 32.84 kB / 488.4 MB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.01177, allocations: 9.25 kB / 488.4 MB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.01179, allocations: 34.56 kB / 488.4 MB, free: 14.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.0118, allocations: 0.8438 kB / 488.4 MB, free: 14.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005976/0.01239, allocations: 361.4 kB / 488.8 MB, free: 14.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.01242, allocations: 51.41 kB / 488.8 MB, free: 13.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.01252, allocations: 175.4 kB / 489 MB, free: 13.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.01253, allocations: 29.7 kB / 489 MB, free: 13.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.0126, allocations: 156.5 kB / 489.2 MB, free: 13.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.01263, allocations: 72 kB / 489.2 MB, free: 13.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.01269, allocations: 58.72 kB / 489.3 MB, free: 13.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.01277, allocations: 330.8 kB / 489.6 MB, free: 13.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.01281, allocations: 27.98 kB / 489.6 MB, free: 13.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.01289, allocations: 86.84 kB / 489.7 MB, free: 12.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.01302, allocations: 145.6 kB / 489.9 MB, free: 12.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01302, allocations: 0.5938 kB / 489.9 MB, free: 12.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003011/0.01332, allocations: 203 kB / 490.1 MB, free: 12.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01333, allocations: 8.906 kB / 490.1 MB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01334, allocations: 0 / 490.1 MB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003239/0.01366, allocations: 105.3 kB / 490.2 MB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01379, allocations: 43.97 kB / 490.2 MB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009293/0.01472, allocations: 1.351 MB / 491.6 MB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.506e-05/0.01481, allocations: 15.92 kB / 491.6 MB, free: 11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.01483, allocations: 8.594 kB / 491.6 MB, free: 11 MB / 458.7 MB 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.705e-05/0.01492, allocations: 126.8 kB / 491.7 MB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.01495, allocations: 11.98 kB / 491.7 MB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.01513, allocations: 149.8 kB / 491.9 MB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.01513, allocations: 4 kB / 491.9 MB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01513, allocations: 0 / 491.9 MB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.01514, allocations: 4.484 kB / 491.9 MB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.01553, allocations: 397.3 kB / 492.3 MB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01553, allocations: 0 / 492.3 MB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.01573, allocations: 68.75 kB / 492.3 MB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01573, allocations: 9.312 kB / 492.4 MB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.01575, allocations: 4.125 kB / 492.4 MB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01575, allocations: 11.94 kB / 492.4 MB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01575, allocations: 0.75 kB / 492.4 MB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.01598, allocations: 312.5 kB / 492.7 MB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.01602, allocations: 28.33 kB / 492.7 MB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.01604, allocations: 8.906 kB / 492.7 MB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.01612, allocations: 7.984 kB / 492.7 MB, free: 9.816 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.01614, allocations: 9.359 kB / 492.7 MB, free: 9.809 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.01615, allocations: 4 kB / 492.7 MB, free: 9.805 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.232e-05/0.0162, allocations: 50.06 kB / 492.8 MB, free: 9.758 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0162, allocations: 0 / 492.8 MB, free: 9.758 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.01642, allocations: 69.47 kB / 492.9 MB, free: 9.691 MB / 458.7 MB 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.0001399/0.01656, allocations: 84.41 kB / 492.9 MB, free: 9.598 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.01692, allocations: 277.4 kB / 493.2 MB, free: 9.312 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.01693, allocations: 4.844 kB / 493.2 MB, free: 9.309 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.801e-05/0.01698, allocations: 58.41 kB / 493.3 MB, free: 9.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.0172, allocations: 37.58 kB / 493.3 MB, free: 9.219 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009576/0.01816, allocations: 0.5303 MB / 493.8 MB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.946e-05/0.01823, allocations: 104.3 kB / 493.9 MB, free: 8.559 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.192e-05/0.01831, allocations: 34.3 kB / 494 MB, free: 8.535 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.01842, allocations: 80.11 kB / 494 MB, free: 8.457 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01842, allocations: 0 / 494 MB, free: 8.457 MB / 458.7 MB Notification: Performance of Templates: time 0.004832/0.02326, allocations: 2.96 MB / 497 MB, free: 5.668 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.803308312315494]