Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009746/0.0009747, 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.0009169/0.0009169, 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.219/1.219, 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.1561/0.1561, allocations: 37.98 MB / 309.3 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.001158/0.001158, allocations: 59.92 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2013, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004529/0.2059, allocations: 5.079 MB / 435.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.2078, allocations: 1.672 MB / 437.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.2079, allocations: 27.81 kB / 437.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007679/0.2087, allocations: 353.3 kB / 437.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.209, allocations: 207.1 kB / 437.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.2095, allocations: 215.6 kB / 438 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.2099, allocations: 0.8147 MB / 438.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.2103, allocations: 280.6 kB / 439.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.2105, allocations: 203.1 kB / 439.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.2108, allocations: 315 kB / 439.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.2108, allocations: 20 kB / 439.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.211, allocations: 147.7 kB / 439.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.2112, allocations: 215.4 kB / 440 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.2113, allocations: 222.9 kB / 440.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.2116, allocations: 439 kB / 440.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2116, allocations: 0 / 440.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2116, allocations: 4 kB / 440.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.2117, allocations: 0 / 440.7 MB, free: 9.605 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00091/0.2126, allocations: 0.731 MB / 441.4 MB, free: 8.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2126, allocations: 8.031 kB / 441.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004644/0.2131, allocations: 92.25 kB / 441.5 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.2135, allocations: 379.3 kB / 441.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2136, allocations: 29.38 kB / 441.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.2137, allocations: 60.09 kB / 441.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.2143, allocations: 0.617 MB / 442.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.2143, allocations: 7.938 kB / 442.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.2144, allocations: 19.98 kB / 442.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.847e-05/0.2145, allocations: 32.92 kB / 442.6 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.215, allocations: 479.5 kB / 443.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.2171, allocations: 2.891 MB / 446 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.2174, allocations: 228.9 kB / 446.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.2175, allocations: 149.7 kB / 446.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.2176, allocations: 11.98 kB / 446.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.2176, allocations: 38.5 kB / 446.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.323e-06/0.2176, allocations: 0 / 446.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001137/0.2187, allocations: 0.9606 MB / 447.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.2188, allocations: 81.11 kB / 447.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.219, allocations: 328.4 kB / 447.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.219, allocations: 33.7 kB / 447.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.2191, allocations: 271.3 kB / 448.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.2192, allocations: 102.6 kB / 448.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-05/0.2193, allocations: 90.16 kB / 448.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.2193, allocations: 358.7 kB / 448.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.2195, allocations: 149 kB / 448.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.2197, allocations: 343.3 kB / 449.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.2201, allocations: 0.5129 MB / 449.6 MB, free: 44 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2201, allocations: 4 kB / 449.6 MB, free: 40 kB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007137/0.2209, allocations: 0.5322 MB / 450.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2209, allocations: 8 kB / 450.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.2209, allocations: 8 kB / 450.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.2209, allocations: 8 kB / 450.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.2213, allocations: 119.8 kB / 450.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.2213, allocations: 16.44 kB / 450.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.2216, allocations: 35.97 kB / 450.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.2216, allocations: 24 kB / 450.3 MB, free: 15.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * 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.0001881/0.2218, allocations: 213.5 kB / 450.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.2219, allocations: 35.61 kB / 450.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.2224, allocations: 350.2 kB / 450.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2224, allocations: 4 kB / 450.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2224, allocations: 3.984 kB / 450.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2224, allocations: 7.938 kB / 450.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.2236, allocations: 0.8831 MB / 451.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2236, allocations: 0 / 451.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.2239, allocations: 63.91 kB / 451.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2239, allocations: 4 kB / 451.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.224, allocations: 16.03 kB / 451.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.224, allocations: 7.938 kB / 451.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.224, allocations: 3.984 kB / 451.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/0.2246, allocations: 0.5847 MB / 452.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.2247, allocations: 112.8 kB / 452.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.2248, allocations: 8 kB / 452.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.2249, allocations: 11.94 kB / 452.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.225, allocations: 19.97 kB / 452.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.225, allocations: 8 kB / 452.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.2252, allocations: 223 kB / 452.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2252, allocations: 3.938 kB / 452.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.2256, allocations: 92 kB / 453 MB, free: 12.52 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 (31): * Single equations (assignments): 30 * Array equations: 0 * 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.0001005/0.2257, allocations: 111.1 kB / 453.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.2262, allocations: 369 kB / 453.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2262, allocations: 0.5 kB / 453.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.2264, allocations: 147.8 kB / 453.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.2269, allocations: 61.53 kB / 453.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2284, allocations: 1.228 MB / 454.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.2288, allocations: 0.8584 MB / 455.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2289, allocations: 39.42 kB / 455.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.2289, allocations: 0 / 455.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of Templates: time 0.006101/0.235, allocations: 4.899 MB / 460.7 MB, free: 4.742 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.ReferenceInertialCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Introductory.ReferenceInertialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Introductory.ReferenceInertialCalcHelperMain.o] Error 1