Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009316/0.0009317, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.0009368/0.0009368, allocations: 194.9 kB / 18.08 MB, free: 5.414 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.205/1.205, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1546/0.1546, allocations: 38 MB / 309.3 MB, free: 6.234 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.001167/0.001167, allocations: 63.91 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2119, allocations: 55.24 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004499/0.2164, allocations: 5.067 MB / 435.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2181, allocations: 1.68 MB / 437.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.2183, allocations: 23.88 kB / 437.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.2191, allocations: 346.7 kB / 437.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.2194, allocations: 235.1 kB / 437.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.2198, allocations: 219.6 kB / 438.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.2203, allocations: 0.8692 MB / 438.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.2207, allocations: 276.6 kB / 439.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.2209, allocations: 215 kB / 439.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.2212, allocations: 374.9 kB / 439.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.2213, allocations: 27.94 kB / 439.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.2216, allocations: 243.5 kB / 440 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.2217, allocations: 223.5 kB / 440.3 MB, free: 10 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.2219, allocations: 250.7 kB / 440.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.2223, allocations: 0.4911 MB / 441 MB, free: 9.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2223, allocations: 4 kB / 441 MB, free: 9.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.2223, allocations: 0 / 441 MB, free: 9.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2223, allocations: 0 / 441 MB, free: 9.262 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001008/0.2233, allocations: 0.7739 MB / 441.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2233, allocations: 12.03 kB / 441.8 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/0.2238, allocations: 88.2 kB / 441.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.2243, allocations: 407.2 kB / 442.3 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2243, allocations: 21.38 kB / 442.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.2244, allocations: 48.12 kB / 442.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.2252, allocations: 0.6804 MB / 443 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.2252, allocations: 4 kB / 443 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.2252, allocations: 23.92 kB / 443 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.2254, allocations: 56.89 kB / 443.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.2261, allocations: 0.6713 MB / 443.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.2286, allocations: 2.52 MB / 446.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.229, allocations: 337.3 kB / 446.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.2293, allocations: 229.7 kB / 446.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.2293, allocations: 4 kB / 446.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.2293, allocations: 42.5 kB / 446.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.2293, allocations: 0 / 446.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.001576/0.2309, allocations: 1.352 MB / 448.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.231, allocations: 81.11 kB / 448.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.2312, allocations: 300.4 kB / 448.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2312, allocations: 37.69 kB / 448.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.2313, allocations: 255.7 kB / 448.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.2314, allocations: 145.8 kB / 449 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.775e-05/0.2315, allocations: 90.25 kB / 449.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.2315, allocations: 350.8 kB / 449.5 MB, free: 388 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.2318, allocations: 205 kB / 449.7 MB, free: 184 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.2321, allocations: 361.3 kB / 450 MB, free: 15.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/0.2328, allocations: 0.6059 MB / 450.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2328, allocations: 4 kB / 450.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008127/0.2336, allocations: 0.6339 MB / 451.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2336, allocations: 11.94 kB / 451.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2336, allocations: 4 kB / 451.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2337, allocations: 8.688 kB / 451.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.2341, allocations: 115.9 kB / 451.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.2341, allocations: 11.94 kB / 451.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.2343, allocations: 27.97 kB / 451.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.2343, allocations: 20 kB / 451.5 MB, free: 14.24 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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.0002028/0.2346, allocations: 221.5 kB / 451.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.2346, allocations: 39.47 kB / 451.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/0.2353, allocations: 0.4897 MB / 452.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.2354, allocations: 12 kB / 452.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2354, allocations: 0 / 452.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2354, allocations: 3.984 kB / 452.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.2369, allocations: 1.108 MB / 453.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2369, allocations: 96 / 453.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.2372, allocations: 75.89 kB / 453.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2372, allocations: 0 / 453.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.2373, allocations: 8 kB / 453.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2373, allocations: 7.984 kB / 453.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2373, allocations: 0 / 453.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/0.2382, allocations: 0.8281 MB / 454.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.2383, allocations: 112.8 kB / 454.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.2384, allocations: 8 kB / 454.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.2386, allocations: 15.98 kB / 454.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.2386, allocations: 19.91 kB / 454.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.2387, allocations: 15.98 kB / 454.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.2388, allocations: 219 kB / 454.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2389, allocations: 4 kB / 454.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.2393, allocations: 104 kB / 454.7 MB, free: 10.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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 0.0002051/0.2395, allocations: 135.2 kB / 454.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.2401, allocations: 0.4933 MB / 455.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2401, allocations: 0 / 455.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.2404, allocations: 219.8 kB / 455.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.2409, allocations: 65.52 kB / 455.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2424, allocations: 1.379 MB / 457 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.2428, allocations: 0.8704 MB / 457.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.2429, allocations: 35.44 kB / 457.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2429, allocations: 0 / 457.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of Templates: time 0.006599/0.2495, allocations: 5.483 MB / 463.4 MB, free: 2.094 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchronCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.o] Error 1