Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009051/0.0009051, allocations: 89.58 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 175 kB / 18.21 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 224.4 MB, free: 12.94 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.209/0.209, allocations: 38.05 MB / 310.7 MB, free: 5.887 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005183/0.0005183, allocations: 12.56 kB / 377.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3361, allocations: 56.34 MB / 434.1 MB, free: 18.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.007542/0.3437, allocations: 8.746 MB / 442.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004201/0.3479, allocations: 2.852 MB / 445.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.3484, allocations: 55.62 kB / 445.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005635/0.349, allocations: 222.5 kB / 446 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008436/0.3498, allocations: 481.9 kB / 446.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.3507, allocations: 407.3 kB / 446.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.352, allocations: 1.976 MB / 448.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.3534, allocations: 1.122 MB / 450 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.3539, allocations: 453.8 kB / 450.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007378/0.3547, allocations: 0.6813 MB / 451.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.326e-05/0.3547, allocations: 40 kB / 451.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.3551, allocations: 239.6 kB / 451.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.3555, allocations: 470.8 kB / 451.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.3559, allocations: 0.5107 MB / 452.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007934/0.3567, allocations: 0.982 MB / 453.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3567, allocations: 0 / 453.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3567, allocations: 7.938 kB / 453.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3567, allocations: 0 / 453.3 MB, free: 15.62 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002092/0.3588, allocations: 1.159 MB / 454.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3589, allocations: 8.031 kB / 454.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009762/0.3598, allocations: 171.5 kB / 454.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.3609, allocations: 0.6998 MB / 455.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.361, allocations: 70.38 kB / 455.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.3613, allocations: 104.1 kB / 455.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.363, allocations: 1.216 MB / 456.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.3631, allocations: 7.938 kB / 456.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/0.3632, allocations: 35.98 kB / 456.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/0.3634, allocations: 65.97 kB / 456.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.365, allocations: 1.007 MB / 457.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005782/0.3708, allocations: 4.779 MB / 462.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.3719, allocations: 0.6726 MB / 463.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006311/0.3725, allocations: 455.8 kB / 463.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.952e-05/0.3726, allocations: 16.44 kB / 463.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007265/0.3733, allocations: 0.4964 MB / 464.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=69): time 2.064e-06/0.3734, allocations: 4 kB / 464.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.00458/0.3779, allocations: 2.788 MB / 467.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.3781, allocations: 162.8 kB / 467.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/0.3787, allocations: 0.5977 MB / 467.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/0.3788, allocations: 37.7 kB / 467.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.3792, allocations: 482.9 kB / 468.3 MB, free: 44 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.3794, allocations: 256.6 kB / 468.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3795, allocations: 81.67 kB / 468.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.3797, allocations: 398.7 kB / 469.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.3803, allocations: 369.8 kB / 469.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/0.381, allocations: 0.6349 MB / 470.1 MB, free: 14.19 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.007053/0.3881, allocations: 3.47 MB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3881, allocations: 0 / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002221/0.3903, allocations: 1.34 MB / 474.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.3904, allocations: 33.7 kB / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3904, allocations: 8 kB / 474.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.3911, allocations: 246.8 kB / 475.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.3922, allocations: 263.6 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/0.3978, allocations: 5.585 MB / 481 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/0.3984, allocations: 39.89 kB / 481 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.3985, allocations: 44.25 kB / 481.1 MB, free: 2.559 MB / 350.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006618/0.3991, allocations: 391 kB / 481.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3992, allocations: 75.06 kB / 481.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.4013, allocations: 1.141 MB / 482.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.4013, allocations: 8 kB / 482.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4013, allocations: 4 kB / 482.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.4013, allocations: 7.984 kB / 482.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.4048, allocations: 2.253 MB / 484.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.4048, allocations: 4 kB / 484.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008831/0.4057, allocations: 191.9 kB / 485.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006613/0.4064, allocations: 250.2 kB / 485.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/0.4065, allocations: 19.98 kB / 485.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/0.4116, allocations: 5.515 MB / 490.9 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4116, allocations: 0 / 490.9 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.4141, allocations: 1.646 MB / 492.6 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.4143, allocations: 148.2 kB / 492.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.4144, allocations: 31.91 kB / 492.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.4148, allocations: 23.98 kB / 492.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.4149, allocations: 52.48 kB / 492.8 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.415, allocations: 27.98 kB / 492.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005022/0.4155, allocations: 415 kB / 493.2 MB, free: 5.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4155, allocations: 0 / 493.2 MB, free: 5.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001132/0.4167, allocations: 275.9 kB / 493.5 MB, free: 5.504 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002605/0.4169, allocations: 127.1 kB / 493.6 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.4191, allocations: 1.399 MB / 495 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4192, allocations: 0 / 495 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.4205, allocations: 0.9172 MB / 495.9 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.4216, allocations: 182.6 kB / 496.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.4255, allocations: 2.756 MB / 498.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008135/0.4263, allocations: 1.115 MB / 500 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.4265, allocations: 63.42 kB / 0.4883 GB, free: 14.77 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4266, allocations: 0 / 0.4883 GB, free: 14.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02484/0.4514, allocations: 20.92 MB / 0.5088 GB, free: 9.816 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitialCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitialCalcHelperMain.o] Error 1