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.001779/0.001779, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002092/0.002092, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.545/1.545, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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.1788/0.1788, allocations: 29.43 MB / 290.7 MB, free: 3.246 MB / 270.1 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=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: PowerSystems 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.002209/0.002209, allocations: 63.91 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4024, allocations: 62.45 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005473/0.4079, allocations: 3.99 MB / 497.6 MB, free: 35.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.4096, allocations: 0.8725 MB / 498.5 MB, free: 34.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.4098, allocations: 14 kB / 498.5 MB, free: 34.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.4101, allocations: 54.27 kB / 498.6 MB, free: 34.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.4106, allocations: 181.5 kB / 498.7 MB, free: 34.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.4108, allocations: 94.88 kB / 498.8 MB, free: 34.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.4112, allocations: 407.6 kB / 499.2 MB, free: 34.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.4114, allocations: 74.17 kB / 499.3 MB, free: 34.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.4117, allocations: 191.6 kB / 499.5 MB, free: 34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.412, allocations: 211.3 kB / 499.7 MB, free: 33.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.412, allocations: 22.56 kB / 499.7 MB, free: 33.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.952e-05/0.4121, allocations: 22.66 kB / 499.8 MB, free: 33.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.4122, allocations: 112 kB / 499.9 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.4123, allocations: 123.7 kB / 500 MB, free: 33.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.4126, allocations: 312 kB / 0.4886 GB, free: 33.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4126, allocations: 0 / 0.4886 GB, free: 33.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4126, allocations: 0 / 0.4886 GB, free: 33.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4126, allocations: 6.75 kB / 0.4886 GB, free: 33.69 MB / 446.1 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.0009582/0.4136, allocations: 0.5579 MB / 0.4891 GB, free: 33.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4136, allocations: 17.03 kB / 0.4891 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.4137, allocations: 33 kB / 0.4892 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.4141, allocations: 279.8 kB / 0.4894 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.4141, allocations: 17.94 kB / 0.4894 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.4142, allocations: 23.53 kB / 0.4895 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.4145, allocations: 312.8 kB / 0.4898 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4145, allocations: 3.188 kB / 0.4898 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.4146, allocations: 8 kB / 0.4898 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4146, allocations: 9.672 kB / 0.4898 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.4149, allocations: 215.7 kB / 0.49 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.416, allocations: 1.226 MB / 0.4912 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.4163, allocations: 133.4 kB / 0.4913 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.4164, allocations: 57.84 kB / 0.4914 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.4164, allocations: 11.12 kB / 0.4914 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4165, allocations: 37.72 kB / 0.4914 GB, free: 31.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.4165, allocations: 0 / 0.4914 GB, free: 31.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007143/0.4172, allocations: 369.1 kB / 0.4918 GB, free: 31.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.4172, allocations: 80.36 kB / 0.4918 GB, free: 31.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.4174, allocations: 267.8 kB / 0.4921 GB, free: 31.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.4174, allocations: 25.7 kB / 0.4921 GB, free: 31.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.4175, allocations: 208 kB / 0.4923 GB, free: 30.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.4176, allocations: 48.73 kB / 0.4924 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.4176, allocations: 48.08 kB / 0.4924 GB, free: 30.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.4177, allocations: 339.5 kB / 0.4927 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.4177, allocations: 64.66 kB / 0.4928 GB, free: 30.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4179, allocations: 151.2 kB / 0.4929 GB, free: 30.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.4181, allocations: 224.5 kB / 0.4932 GB, free: 30.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4181, allocations: 3.094 kB / 0.4932 GB, free: 30.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000291/0.4184, allocations: 248 kB / 0.4934 GB, free: 30.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4184, allocations: 8.594 kB / 0.4934 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4184, allocations: 3.156 kB / 0.4934 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4184, allocations: 5.812 kB / 0.4934 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.4186, allocations: 53.14 kB / 0.4935 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4186, allocations: 10.38 kB / 0.4935 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.4187, allocations: 6.375 kB / 0.4935 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.4187, allocations: 13.28 kB / 0.4935 GB, free: 30.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.4188, allocations: 165.4 kB / 0.4937 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.4189, allocations: 28.08 kB / 0.4937 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.4192, allocations: 200.2 kB / 0.4939 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4192, allocations: 0 / 0.4939 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4192, allocations: 3.406 kB / 0.4939 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4192, allocations: 0 / 0.4939 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.4197, allocations: 483.5 kB / 0.4943 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4197, allocations: 0 / 0.4943 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.4198, allocations: 29.09 kB / 0.4944 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4198, allocations: 3.062 kB / 0.4944 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4198, allocations: 4 kB / 0.4944 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4198, allocations: 7.312 kB / 0.4944 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4198, allocations: 0 / 0.4944 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.42, allocations: 296.3 kB / 0.4947 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.4201, allocations: 33.02 kB / 0.4947 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.4201, allocations: 0 / 0.4947 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4202, allocations: 10.5 kB / 0.4947 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.4202, allocations: 14.55 kB / 0.4947 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.4203, allocations: 6.031 kB / 0.4947 GB, free: 29.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.4204, allocations: 183.5 kB / 0.4949 GB, free: 29.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4204, allocations: 0 / 0.4949 GB, free: 29.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.4207, allocations: 53.88 kB / 0.4949 GB, free: 29.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * 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 7.396e-05/0.4207, allocations: 102.5 kB / 0.495 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.421, allocations: 151.5 kB / 0.4952 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.421, allocations: 0 / 0.4952 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.4211, allocations: 70.34 kB / 0.4953 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.4215, allocations: 64.95 kB / 0.4953 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/0.4222, allocations: 0.5362 MB / 0.4958 GB, free: 28.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.4224, allocations: 171.4 kB / 0.496 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.4225, allocations: 43.86 kB / 0.496 GB, free: 28.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.4226, allocations: 29.22 kB / 0.4961 GB, free: 28.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4226, allocations: 0 / 0.4961 GB, free: 28.5 MB / 446.1 MB Notification: Performance of Templates: time 0.005295/0.4279, allocations: 2.235 MB / 0.4983 GB, free: 28.2 MB / 446.1 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=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.051235049031675] Failed to read output from testmodel.py, exit status != 0: 0.43634977506008 0.447327176 0.031976514000000004 Calling exit ...