Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 96.75 kB / 16.37 MB, free: 5.961 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.001754/0.001754, allocations: 188.4 kB / 17.27 MB, free: 5.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 241.3 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2697/0.2697, allocations: 8.082 MB / 300.5 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 12 kB / 363.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 52.51 MB / 416 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.008782/0.1341, allocations: 7.704 MB / 423.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2464/0.3805, allocations: 2.161 MB / 425.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.3817, allocations: 24.56 kB / 425.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007724/0.3825, allocations: 251.1 kB / 426.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.3846, allocations: 0.6824 MB / 426.8 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.3873, allocations: 1.293 MB / 428.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002587/0.3899, allocations: 1.685 MB / 429.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008137/0.3908, allocations: 0.5256 MB / 430.3 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3919, allocations: 0.6264 MB / 430.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.393, allocations: 0.8392 MB / 431.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.3932, allocations: 84.72 kB / 431.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008301/0.394, allocations: 308.2 kB / 432.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.3942, allocations: 281.1 kB / 432.4 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.3946, allocations: 334.8 kB / 432.8 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.3963, allocations: 1.741 MB / 434.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3963, allocations: 0 / 434.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3964, allocations: 0 / 434.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.3964, allocations: 3.156 kB / 434.5 MB, free: 33.37 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01433/0.4107, allocations: 3.896 MB / 438.4 MB, free: 32.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.4108, allocations: 9.594 kB / 438.4 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.4119, allocations: 183.9 kB / 438.6 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.4136, allocations: 0.9095 MB / 439.5 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.4138, allocations: 166.7 kB / 439.7 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.414, allocations: 141.8 kB / 439.8 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/0.4173, allocations: 2.003 MB / 441.8 MB, free: 31.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.4174, allocations: 0 / 441.8 MB, free: 31.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.4176, allocations: 57.84 kB / 441.9 MB, free: 31.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.4176, allocations: 29.52 kB / 441.9 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003052/0.4207, allocations: 1.945 MB / 443.8 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/0.4309, allocations: 8.262 MB / 452.1 MB, free: 25.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004039/0.435, allocations: 4.576 MB / 456.7 MB, free: 22.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.4369, allocations: 1.399 MB / 458.1 MB, free: 21.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.4371, allocations: 43.19 kB / 458.1 MB, free: 21.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00213/0.4392, allocations: 1.436 MB / 459.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=201): time 3.547e-06/0.4393, allocations: 0 / 459.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=201): time 0.05355/0.4928, allocations: 12.99 MB / 472.5 MB, free: 17.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.493, allocations: 181.7 kB / 472.7 MB, free: 17.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4945, allocations: 0.8048 MB / 473.5 MB, free: 17.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000525/0.495, allocations: 77.64 kB / 473.6 MB, free: 17.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.4954, allocations: 432.9 kB / 474 MB, free: 16.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006673/0.4961, allocations: 0.669 MB / 474.7 MB, free: 16.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.4963, allocations: 44.25 kB / 474.7 MB, free: 16.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4964, allocations: 440.2 kB / 475.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.4986, allocations: 1.247 MB / 476.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.501, allocations: 1.421 MB / 477.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.5034, allocations: 1.379 MB / 479.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.5034, allocations: 0 / 479.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01291/0.5163, allocations: 5.277 MB / 484.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.5164, allocations: 4.812 kB / 484.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.5164, allocations: 1.125 kB / 484.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01304/0.5295, allocations: 3.823 MB / 488.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.5313, allocations: 323.1 kB / 488.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02629/0.5576, allocations: 14.43 MB / 0.4913 GB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.5596, allocations: 190 kB / 0.4915 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.5598, allocations: 82.48 kB / 0.4915 GB, free: 10.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.cmd.pulseStart,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 58} Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.5608, allocations: 358.1 kB / 0.4919 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.5611, allocations: 142.3 kB / 0.492 GB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.5743, allocations: 5.211 MB / 0.4971 GB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/0.5743, allocations: 24 kB / 0.4971 GB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5743, allocations: 0 / 0.4971 GB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/0.5744, allocations: 11.95 kB / 0.4971 GB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.5898, allocations: 7.723 MB / 0.5047 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.5899, allocations: 0 / 0.5047 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009427/0.5908, allocations: 239.6 kB / 0.5049 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01221/0.603, allocations: 3.282 MB / 0.5081 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004276/0.6035, allocations: 43.98 kB / 0.5082 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02739/0.6309, allocations: 14.22 MB / 0.522 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6309, allocations: 0 / 0.522 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.6436, allocations: 5.001 MB / 0.5269 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/0.6442, allocations: 254.7 kB / 0.5272 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.6445, allocations: 39.98 kB / 0.5272 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.6457, allocations: 141.3 kB / 0.5273 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007456/0.6465, allocations: 173 kB / 0.5275 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.6466, allocations: 67.98 kB / 0.5276 GB, free: 5.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008149/0.6474, allocations: 0.5302 MB / 0.5281 GB, free: 4.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6475, allocations: 3.938 kB / 0.5281 GB, free: 4.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002303/0.6498, allocations: 0.7338 MB / 0.5288 GB, free: 4.074 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 58} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003911/0.6502, allocations: 182.8 kB / 0.529 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008909/0.6591, allocations: 4.091 MB / 0.533 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.6591, allocations: 1.281 kB / 0.533 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006404/0.6655, allocations: 2.555 MB / 0.5355 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.667, allocations: 180.3 kB / 0.5356 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/0.6728, allocations: 3.596 MB / 0.5392 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.6738, allocations: 1.224 MB / 0.5404 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/0.6743, allocations: 139.4 kB / 0.5405 GB, free: 8.062 MB / 414.1 MB Notification: Performance of SimCode: time 2.034e-06/0.6743, allocations: 0 / 0.5405 GB, free: 8.062 MB / 414.1 MB Notification: Performance of Templates: time 0.04992/0.7243, allocations: 31.9 MB / 0.5716 GB, free: 8.148 MB / 446.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.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 OMCppPowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakersCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakersCalcHelperMain.o] Error 1