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.0008261/0.0008265, allocations: 93 kB / 16.95 MB, free: 5.676 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.0007797/0.0007797, allocations: 178.7 kB / 17.84 MB, free: 5.32 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.549/1.549, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1732/0.1732, allocations: 38.05 MB / 310.3 MB, free: 6.027 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.0005018/0.0005019, allocations: 12 kB / 377.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2768, allocations: 56.33 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.006568/0.2835, allocations: 8.218 MB / 441.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.2879, allocations: 2.732 MB / 444.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.2886, allocations: 55.62 kB / 444.5 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.2892, allocations: 262.2 kB / 444.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.2903, allocations: 0.5908 MB / 445.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.2915, allocations: 463.2 kB / 445.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.2926, allocations: 1.554 MB / 447.3 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.2939, allocations: 1.006 MB / 448.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005888/0.2945, allocations: 473.9 kB / 448.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007699/0.2953, allocations: 0.6698 MB / 449.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.59e-05/0.2954, allocations: 40 kB / 449.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.2958, allocations: 187.7 kB / 449.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003622/0.2962, allocations: 478.8 kB / 450.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.2964, allocations: 213.1 kB / 450.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006558/0.297, allocations: 0.9859 MB / 451.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.297, allocations: 3.938 kB / 451.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2971, allocations: 0 / 451.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.2971, allocations: 0 / 451.4 MB, free: 0.832 MB / 318.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.001834/0.2989, allocations: 1.171 MB / 452.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.299, allocations: 8.031 kB / 452.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009093/0.2999, allocations: 166.6 kB / 452.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.301, allocations: 0.6796 MB / 453.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.301, allocations: 66 kB / 453.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.3013, allocations: 107.8 kB / 453.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.303, allocations: 1.216 MB / 454.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.3031, allocations: 11.92 kB / 454.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.3032, allocations: 32 kB / 454.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00021/0.3034, allocations: 61.97 kB / 454.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.3049, allocations: 1.011 MB / 455.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005816/0.3108, allocations: 4.783 MB / 460.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.3119, allocations: 0.6687 MB / 461.3 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/0.3125, allocations: 455.8 kB / 461.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-05/0.3126, allocations: 8.562 kB / 461.8 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007595/0.3133, allocations: 0.5042 MB / 462.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=69): time 2.535e-06/0.3133, allocations: 3.938 kB / 462.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004717/0.3181, allocations: 2.796 MB / 465.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3182, allocations: 166.8 kB / 465.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006951/0.3189, allocations: 0.586 MB / 465.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.319, allocations: 45.69 kB / 465.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.3194, allocations: 478.9 kB / 466.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.3196, allocations: 260.4 kB / 466.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.3196, allocations: 16 kB / 466.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3198, allocations: 390.8 kB / 467 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.3204, allocations: 373.8 kB / 467.4 MB, free: 240 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/0.3212, allocations: 0.6268 MB / 468 MB, free: 15.49 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.005401/0.3266, allocations: 2.52 MB / 470.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3266, allocations: 7.938 kB / 470.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002303/0.3289, allocations: 1.336 MB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.329, allocations: 33.7 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.329, allocations: 8 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/0.3296, allocations: 246.3 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3306, allocations: 271.6 kB / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005305/0.3359, allocations: 5.57 MB / 478 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006393/0.3366, allocations: 36.06 kB / 478 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.3367, allocations: 47.97 kB / 478 MB, free: 4.934 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,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,$whenCondition2,switch.control[1],$PRE.switch.t0,switch.t0,$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006079/0.3373, allocations: 381.5 kB / 478.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3374, allocations: 75.06 kB / 478.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.3393, allocations: 1.141 MB / 479.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.3393, allocations: 8 kB / 479.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3394, allocations: 7.953 kB / 479.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3394, allocations: 3.984 kB / 479.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.3426, allocations: 2.261 MB / 481.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3427, allocations: 0 / 481.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/0.3435, allocations: 191.9 kB / 482.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006246/0.3441, allocations: 246.3 kB / 482.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/0.3442, allocations: 27.98 kB / 482.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.349, allocations: 5.499 MB / 487.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.349, allocations: 0 / 487.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.3515, allocations: 1.638 MB / 489.5 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.3517, allocations: 152.2 kB / 489.7 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.3518, allocations: 27.98 kB / 489.7 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.3521, allocations: 23.98 kB / 489.7 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.3523, allocations: 56.47 kB / 489.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.3524, allocations: 20 kB / 489.8 MB, free: 8.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000486/0.3528, allocations: 411 kB / 490.2 MB, free: 8.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3529, allocations: 4 kB / 490.2 MB, free: 8.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001087/0.3539, allocations: 272 kB / 490.5 MB, free: 7.914 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002268/0.3542, allocations: 143.1 kB / 490.6 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.3563, allocations: 1.388 MB / 492 MB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3563, allocations: 0 / 492 MB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.3577, allocations: 0.9128 MB / 492.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.3585, allocations: 174.8 kB / 493.1 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.3623, allocations: 2.693 MB / 495.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/0.363, allocations: 1.115 MB / 496.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.3633, allocations: 67.42 kB / 496.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3633, allocations: 0 / 496.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of Templates: time 0.02776/0.391, allocations: 20.95 MB / 0.5057 GB, free: 12.27 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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