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.0009927/0.0009927, allocations: 91.97 kB / 16.95 MB, free: 5.953 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.001145/0.001145, allocations: 176.5 kB / 17.84 MB, free: 5.617 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.626/1.626, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1825/0.1825, allocations: 38.06 MB / 310.3 MB, free: 6.035 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.0004867/0.0004868, allocations: 12 kB / 377.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3104, allocations: 56.34 MB / 433.5 MB, free: 18.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.003811/0.3143, allocations: 4.45 MB / 437.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3163, allocations: 1.564 MB / 439.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.3165, allocations: 27.88 kB / 439.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.3167, allocations: 79.39 kB / 439.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.3173, allocations: 242.8 kB / 439.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.3178, allocations: 235.6 kB / 440.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.3183, allocations: 0.6469 MB / 440.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006863/0.319, allocations: 0.5216 MB / 441.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.3192, allocations: 195.1 kB / 441.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.3196, allocations: 295.1 kB / 441.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.3196, allocations: 16 kB / 441.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.3198, allocations: 95.84 kB / 441.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.32, allocations: 207.5 kB / 442 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.625e-05/0.3201, allocations: 101.5 kB / 442.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.3204, allocations: 430.9 kB / 442.5 MB, free: 9.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3204, allocations: 0 / 442.5 MB, free: 9.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3204, allocations: 0 / 442.5 MB, free: 9.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3204, allocations: 0 / 442.5 MB, free: 9.848 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.0009011/0.3213, allocations: 0.6569 MB / 443.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3214, allocations: 8.031 kB / 443.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.3218, allocations: 83.39 kB / 443.3 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.3223, allocations: 382.1 kB / 443.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.3223, allocations: 29 kB / 443.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3224, allocations: 47.98 kB / 443.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.3231, allocations: 0.6209 MB / 444.4 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.3231, allocations: 3.938 kB / 444.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.3232, allocations: 20 kB / 444.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.339e-05/0.3233, allocations: 32.98 kB / 444.4 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.3239, allocations: 483.4 kB / 444.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.3262, allocations: 2.888 MB / 447.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.3265, allocations: 240.9 kB / 448 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.3267, allocations: 145.7 kB / 448.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.3267, allocations: 15.92 kB / 448.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3267, allocations: 38.5 kB / 448.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.3267, allocations: 0 / 448.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001275/0.328, allocations: 0.9646 MB / 449.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.3281, allocations: 77.11 kB / 449.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.3283, allocations: 320.4 kB / 449.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3283, allocations: 33.7 kB / 449.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3284, allocations: 267.3 kB / 449.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.3285, allocations: 106.5 kB / 449.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.3285, allocations: 11.94 kB / 450 MB, free: 1.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.3286, allocations: 350.8 kB / 450.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3288, allocations: 141 kB / 450.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.329, allocations: 347.2 kB / 450.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3293, allocations: 203.8 kB / 451 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3293, allocations: 0 / 451 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005941/0.3299, allocations: 0.5285 MB / 451.5 MB, free: 340 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3299, allocations: 8 kB / 451.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3299, allocations: 8 kB / 451.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.33, allocations: 12 kB / 451.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.3303, allocations: 115.8 kB / 451.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.3303, allocations: 19.92 kB / 451.7 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.3305, allocations: 27.92 kB / 451.7 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.3306, allocations: 24 kB / 451.7 MB, free: 124 kB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.3308, allocations: 217.8 kB / 451.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.3309, allocations: 31.58 kB / 452 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005973/0.3315, allocations: 362 kB / 452.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3315, allocations: 4 kB / 452.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3315, allocations: 0 / 452.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3315, allocations: 7.984 kB / 452.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.3328, allocations: 0.8838 MB / 453.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3328, allocations: 0 / 453.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.3331, allocations: 67.91 kB / 453.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3332, allocations: 0 / 453.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.3332, allocations: 11.98 kB / 453.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3332, allocations: 4 kB / 453.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3332, allocations: 0 / 453.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007944/0.334, allocations: 0.5887 MB / 453.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.3341, allocations: 104.7 kB / 454 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.3342, allocations: 8 kB / 454 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.3343, allocations: 19.98 kB / 454 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.3344, allocations: 19.97 kB / 454 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3344, allocations: 8 kB / 454 MB, free: 13.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000226/0.3346, allocations: 215.1 kB / 454.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3347, allocations: 0 / 454.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004423/0.3351, allocations: 95.98 kB / 454.3 MB, free: 13.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.3352, allocations: 103.2 kB / 454.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005677/0.3358, allocations: 367.7 kB / 454.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3358, allocations: 1.812 kB / 454.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.336, allocations: 143.8 kB / 454.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.3366, allocations: 73.7 kB / 455 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.3384, allocations: 1.275 MB / 456.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3389, allocations: 0.8506 MB / 457.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.339, allocations: 43.44 kB / 457.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.339, allocations: 0 / 457.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of Templates: time 0.007925/0.3469, allocations: 4.879 MB / 462.1 MB, free: 5.562 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.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