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.0009225/0.0009226, allocations: 105 kB / 17.16 MB, free: 6.082 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.0009002/0.0009003, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.201/1.201, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1553/0.1553, allocations: 37.98 MB / 309.2 MB, free: 6.238 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.001226/0.001226, allocations: 75 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2044, allocations: 55.24 MB / 430.5 MB, free: 19.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.006656/0.2111, allocations: 9.233 MB / 439.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.215, allocations: 2.891 MB / 442.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004914/0.2155, allocations: 59.62 kB / 442.7 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.2171, allocations: 0.7977 MB / 443.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007795/0.2178, allocations: 485.9 kB / 444 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.2187, allocations: 403.3 kB / 444.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.2197, allocations: 1.976 MB / 446.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006422/0.2203, allocations: 0.6772 MB / 447 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.2208, allocations: 497.8 kB / 447.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.2214, allocations: 0.7243 MB / 448.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.932e-05/0.2215, allocations: 56 kB / 448.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.2219, allocations: 251.6 kB / 448.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.2222, allocations: 0.4909 MB / 449 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.2226, allocations: 0.513 MB / 449.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006473/0.2233, allocations: 0.9979 MB / 450.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2233, allocations: 3.938 kB / 450.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2233, allocations: 4 kB / 450.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.2233, allocations: 0 / 450.5 MB, free: 15.85 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.002172/0.2255, allocations: 1.339 MB / 451.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2255, allocations: 8.031 kB / 451.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009607/0.2265, allocations: 171.5 kB / 452 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.2275, allocations: 0.696 MB / 452.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.2276, allocations: 66.38 kB / 452.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.2278, allocations: 111.9 kB / 452.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.2294, allocations: 1.216 MB / 454.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.2295, allocations: 7.938 kB / 454.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.2295, allocations: 32 kB / 454.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002525/0.2298, allocations: 65.95 kB / 454.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.2312, allocations: 1.015 MB / 455.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/0.2365, allocations: 4.764 MB / 460 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009911/0.2376, allocations: 0.6764 MB / 460.7 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/0.2382, allocations: 451.9 kB / 461.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.2382, allocations: 8.562 kB / 461.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006924/0.2389, allocations: 0.5041 MB / 461.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=69): time 2.564e-06/0.2389, allocations: 0 / 461.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004318/0.2433, allocations: 2.78 MB / 464.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.2434, allocations: 170.7 kB / 464.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.244, allocations: 0.59 MB / 465.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.244, allocations: 45.77 kB / 465.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.2443, allocations: 482.9 kB / 465.7 MB, free: 116 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.2445, allocations: 248.5 kB / 465.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.2448, allocations: 174.5 kB / 466.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.245, allocations: 394.7 kB / 466.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005315/0.2455, allocations: 373.8 kB / 466.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007107/0.2462, allocations: 0.631 MB / 467.5 MB, free: 14.18 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.006545/0.2528, allocations: 3.455 MB / 470.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.2528, allocations: 4 kB / 470.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002129/0.2549, allocations: 1.34 MB / 472.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.255, allocations: 41.64 kB / 472.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.255, allocations: 8 kB / 472.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/0.2556, allocations: 254.8 kB / 472.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009907/0.2566, allocations: 259.6 kB / 472.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004865/0.2615, allocations: 5.57 MB / 478.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.262, allocations: 36.05 kB / 478.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.2621, allocations: 43.98 kB / 478.5 MB, free: 2.57 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 system: 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.0004941/0.2626, allocations: 379.1 kB / 478.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2628, allocations: 79.06 kB / 478.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.2646, allocations: 1.141 MB / 480.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.2646, allocations: 11.98 kB / 480.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2646, allocations: 4 kB / 480.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2646, allocations: 3.984 kB / 480.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.2678, allocations: 2.249 MB / 482.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.2678, allocations: 4 kB / 482.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008069/0.2686, allocations: 183.8 kB / 482.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006561/0.2693, allocations: 254.3 kB / 482.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.2694, allocations: 23.98 kB / 482.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004505/0.2739, allocations: 5.504 MB / 488.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2739, allocations: 8.016 kB / 488.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.2762, allocations: 1.638 MB / 489.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.2763, allocations: 148.2 kB / 490.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.2765, allocations: 27.88 kB / 490.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.2768, allocations: 27.97 kB / 490.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.277, allocations: 60.42 kB / 490.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.277, allocations: 20 kB / 490.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004285/0.2775, allocations: 423 kB / 490.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2775, allocations: 0 / 490.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009575/0.2784, allocations: 268 kB / 490.9 MB, free: 5.535 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.0001972/0.2786, allocations: 150.7 kB / 491 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.2805, allocations: 1.384 MB / 492.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2805, allocations: 0 / 492.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.2817, allocations: 0.9133 MB / 493.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008011/0.2826, allocations: 162.8 kB / 493.5 MB, free: 2.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.2858, allocations: 2.654 MB / 496.2 MB, free: 124 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/0.2864, allocations: 1.115 MB / 497.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.2866, allocations: 63.42 kB / 497.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.2866, allocations: 0 / 497.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of Templates: time 0.021/0.3076, allocations: 21.01 MB / 0.5062 GB, free: 9.883 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