Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 93.7 kB / 17.31 MB, free: 6.535 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.001208/0.001208, allocations: 175.9 kB / 18.21 MB, free: 5.684 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.792/1.792, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1833/0.1833, allocations: 38.05 MB / 310.7 MB, free: 5.91 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.0005228/0.0005228, allocations: 15.98 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2997, allocations: 56.33 MB / 434.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.005838/0.3056, allocations: 5.815 MB / 440 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007064/0.3127, allocations: 4.512 MB / 444.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008044/0.3136, allocations: 31.75 kB / 444.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.3242, allocations: 4.586 MB / 449.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.3254, allocations: 326.6 kB / 449.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.326, allocations: 227.7 kB / 449.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.3278, allocations: 2.125 MB / 451.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000845/0.3286, allocations: 0.5473 MB / 452.3 MB, free: 440 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.329, allocations: 294.7 kB / 452.6 MB, free: 144 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006114/0.3296, allocations: 454.3 kB / 453 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.3297, allocations: 24 kB / 453.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.33, allocations: 119.8 kB / 453.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.3302, allocations: 255.3 kB / 453.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.3305, allocations: 316.1 kB / 453.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.3311, allocations: 0.5493 MB / 454.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3311, allocations: 4 kB / 454.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.3311, allocations: 0 / 454.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.3311, allocations: 3.938 kB / 454.3 MB, free: 14.43 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001607/0.3327, allocations: 0.7928 MB / 455.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3328, allocations: 8.031 kB / 455.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000483/0.3333, allocations: 92.06 kB / 455.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.3343, allocations: 0.5371 MB / 455.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.3343, allocations: 36.92 kB / 455.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.3344, allocations: 51.91 kB / 455.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000975/0.3354, allocations: 0.6492 MB / 456.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.3355, allocations: 4 kB / 456.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.3355, allocations: 16 kB / 456.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/0.3357, allocations: 48.97 kB / 456.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007397/0.3364, allocations: 499.6 kB / 457 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.3397, allocations: 2.543 MB / 459.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.3402, allocations: 327.5 kB / 459.9 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.3405, allocations: 187 kB / 460.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.3405, allocations: 0 / 460.1 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.3406, allocations: 42.56 kB / 460.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.3406, allocations: 0 / 460.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002526/0.3431, allocations: 1.637 MB / 461.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.3432, allocations: 106.8 kB / 461.8 MB, free: 6.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.3437, allocations: 425.8 kB / 462.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.3437, allocations: 29.7 kB / 462.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.3439, allocations: 307.6 kB / 462.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.3441, allocations: 126.2 kB / 462.7 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.3441, allocations: 45.7 kB / 462.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3443, allocations: 362.7 kB / 463.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.3446, allocations: 169 kB / 463.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.3449, allocations: 309.8 kB / 463.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.3455, allocations: 487.4 kB / 464 MB, free: 4.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3455, allocations: 0 / 464 MB, free: 4.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001287/0.3468, allocations: 0.7883 MB / 464.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3469, allocations: 16.02 kB / 464.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.3469, allocations: 4 kB / 464.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006359/0.3475, allocations: 205.5 kB / 465.1 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.3478, allocations: 75.89 kB / 465.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/0.3521, allocations: 3.887 MB / 469 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.3525, allocations: 23.84 kB / 469 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.3525, allocations: 19.98 kB / 469.1 MB, free: 14.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.00036/0.3529, allocations: 229.6 kB / 469.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.353, allocations: 51.38 kB / 469.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009133/0.3539, allocations: 0.6333 MB / 470 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.3539, allocations: 12 kB / 470 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3539, allocations: 0 / 470 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.354, allocations: 3.984 kB / 470 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.3556, allocations: 1.203 MB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3556, allocations: 0 / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.3561, allocations: 79.88 kB / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.3562, allocations: 53.73 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.3563, allocations: 12 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.3582, allocations: 2.626 MB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3582, allocations: 0 / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.3594, allocations: 0.9608 MB / 474.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.3596, allocations: 144.5 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.3597, allocations: 16 kB / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.3599, allocations: 11.98 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.36, allocations: 27.95 kB / 475.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.3601, allocations: 19.94 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003681/0.3604, allocations: 295.1 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3604, allocations: 0 / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000677/0.3611, allocations: 132 kB / 475.5 MB, free: 7.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001805/0.3613, allocations: 114.7 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.3627, allocations: 0.7278 MB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3627, allocations: 320 / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.3633, allocations: 429.1 kB / 476.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/0.3641, allocations: 114.6 kB / 476.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.3667, allocations: 1.899 MB / 478.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.3673, allocations: 0.9444 MB / 479.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.3675, allocations: 39.42 kB / 479.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3675, allocations: 0 / 479.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of Templates: time 0.01543/0.3829, allocations: 11.19 MB / 491 MB, free: 8.121 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.AC3ph.Elementary.MachinesCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.MachinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.MachinesCalcHelperMain.o] Error 1