Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.0006603/0.0006603, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009287/0.001589, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006849/0.0006849, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009239/0.001609, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.8813/0.8813, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07553/0.9569, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1117/0.1117, allocations: 29.43 MB / 273.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1174/0.2291, allocations: 9.514 MB / 282.9 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.943e-06/8.255e-06, allocations: 2.312 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.003499/0.003507, allocations: 3.967 MB / 288.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.004519, allocations: 0.9224 MB / 289.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.004648, allocations: 18.47 kB / 289.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.004772, allocations: 48.11 kB / 289.2 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.005056, allocations: 177.9 kB / 289.3 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.005229, allocations: 92.3 kB / 289.4 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.005553, allocations: 424.2 kB / 289.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.005699, allocations: 73.31 kB / 289.9 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.006035, allocations: 285.5 kB / 290.2 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.006246, allocations: 166.6 kB / 290.4 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.006279, allocations: 19.12 kB / 290.4 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.569e-05/0.006314, allocations: 20.44 kB / 290.4 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.006395, allocations: 98.97 kB / 290.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.136e-05/0.006477, allocations: 81.94 kB / 290.6 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.006686, allocations: 223.7 kB / 290.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.006696, allocations: 0 / 290.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.006696, allocations: 0 / 290.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.006709, allocations: 1.375 kB / 290.8 MB, free: 7.082 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006605/0.00737, allocations: 0.5678 MB / 291.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.007398, allocations: 9.625 kB / 291.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.00746, allocations: 36.19 kB / 291.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.007751, allocations: 271 kB / 291.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.007768, allocations: 22.27 kB / 291.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.007792, allocations: 25.91 kB / 291.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.008016, allocations: 223.5 kB / 291.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.008025, allocations: 3.938 kB / 291.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.008041, allocations: 11.66 kB / 292 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.008047, allocations: 5.406 kB / 292 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.008156, allocations: 81 kB / 292 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007714/0.008927, allocations: 1.088 MB / 293.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.009108, allocations: 146.7 kB / 293.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.009141, allocations: 32.89 kB / 293.3 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.009156, allocations: 6.75 kB / 293.3 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.009175, allocations: 31.69 kB / 293.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.009176, allocations: 4 kB / 293.3 MB, free: 5 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002488/0.009425, allocations: 133.4 kB / 293.5 MB, free: 4.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.009462, allocations: 83.92 kB / 293.6 MB, free: 4.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.009606, allocations: 251.1 kB / 293.8 MB, free: 4.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.009619, allocations: 25.7 kB / 293.8 MB, free: 4.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.009686, allocations: 183.9 kB / 294 MB, free: 4.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.009709, allocations: 41.08 kB / 294 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.009755, allocations: 43.55 kB / 294.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.009831, allocations: 340.9 kB / 294.4 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.009858, allocations: 20.47 kB / 294.4 MB, free: 4.035 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.00992, allocations: 122.6 kB / 294.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.01003, allocations: 153.8 kB / 294.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01004, allocations: 2.094 kB / 294.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001368/0.01017, allocations: 152.6 kB / 294.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.01019, allocations: 7.062 kB / 294.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01019, allocations: 7.219 kB / 294.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.0102, allocations: 8.188 kB / 294.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.01035, allocations: 53 kB / 294.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01035, allocations: 7.891 kB / 294.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.01042, allocations: 22.84 kB / 295 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.01043, allocations: 10.72 kB / 295 MB, free: 3.613 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 prepare postOptimizeDAE: time 7.232e-05/0.01051, allocations: 130.1 kB / 295.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.01053, allocations: 18.52 kB / 295.1 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.01067, allocations: 118.5 kB / 295.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01067, allocations: 7.875 kB / 295.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.01067, allocations: 0 / 295.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01067, allocations: 0 / 295.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.01106, allocations: 148.2 kB / 295.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01106, allocations: 0 / 295.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.01114, allocations: 35.97 kB / 295.4 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.01117, allocations: 27.73 kB / 295.5 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01117, allocations: 0 / 295.5 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.01118, allocations: 4 kB / 295.5 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01118, allocations: 0 / 295.5 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01118, allocations: 0 / 295.5 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.0113, allocations: 248.1 kB / 295.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.01132, allocations: 11.94 kB / 295.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.01137, allocations: 0 / 295.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.01139, allocations: 7.984 kB / 295.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.0114, allocations: 11.98 kB / 295.7 MB, free: 2.863 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.01144, allocations: 76.66 kB / 295.8 MB, free: 2.789 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01144, allocations: 4 kB / 295.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.01162, allocations: 63.83 kB / 295.9 MB, free: 2.723 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 5.757e-05/0.01168, allocations: 88.95 kB / 296 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.01179, allocations: 84.67 kB / 296 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.01179, allocations: 8 kB / 296.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.01183, allocations: 38.05 kB / 296.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01206, allocations: 84.08 kB / 296.2 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.01545, allocations: 0.5156 MB / 296.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.0155, allocations: 96.3 kB / 296.8 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.457e-05/0.01558, allocations: 34.27 kB / 296.8 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.01568, allocations: 91.34 kB / 296.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01568, allocations: 4 kB / 296.9 MB, free: 1.633 MB / 282.7 MB Notification: Performance of Templates: time 0.003731/0.01941, allocations: 2.54 MB / 299.4 MB, free: 15.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4762306082993746]