Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009571/0.0009569, allocations: 90.5 kB / 17.31 MB, free: 5.59 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.0008793/0.0008793, allocations: 177.1 kB / 18.21 MB, free: 5.191 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.814/1.814, 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.1779/0.1779, allocations: 38.04 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.0005408/0.0005408, allocations: 16 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3499, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.007734/0.3577, allocations: 8.225 MB / 442.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005618/0.3633, allocations: 3.374 MB / 445.7 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007767/0.3641, allocations: 47.69 kB / 445.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.3648, allocations: 182.8 kB / 446 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.3664, allocations: 0.642 MB / 446.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008971/0.3673, allocations: 329.9 kB / 446.9 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.369, allocations: 2.003 MB / 448.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.3703, allocations: 1.049 MB / 450 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000496/0.3708, allocations: 445.9 kB / 450.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007344/0.3716, allocations: 0.6228 MB / 451 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.3716, allocations: 36 kB / 451.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006884/0.3723, allocations: 475 kB / 451.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.3726, allocations: 410.9 kB / 451.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.373, allocations: 487.2 kB / 452.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3741, allocations: 1.06 MB / 453.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3742, allocations: 0 / 453.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.3742, allocations: 0 / 453.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3742, allocations: 0 / 453.5 MB, free: 15.22 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002193/0.3764, allocations: 1.083 MB / 454.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.3764, allocations: 8.031 kB / 454.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.3777, allocations: 211.5 kB / 454.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.379, allocations: 0.6827 MB / 455.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.3791, allocations: 62.36 kB / 455.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.3794, allocations: 95.83 kB / 455.6 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.3811, allocations: 1.119 MB / 456.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.3812, allocations: 7.938 kB / 456.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/0.3813, allocations: 32 kB / 456.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.3814, allocations: 69.97 kB / 456.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.3829, allocations: 0.8899 MB / 457.7 MB, free: 10.83 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/0.3889, allocations: 4.093 MB / 461.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.3895, allocations: 433.9 kB / 462.2 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.39, allocations: 270.2 kB / 462.5 MB, free: 5.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.39, allocations: 11.94 kB / 462.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3901, allocations: 34.56 kB / 462.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.194e-06/0.3901, allocations: 0 / 462.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.004409/0.3945, allocations: 1.985 MB / 464.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3946, allocations: 85.53 kB / 464.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007105/0.3953, allocations: 0.5654 MB / 465.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.3953, allocations: 37.64 kB / 465.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.3957, allocations: 482.5 kB / 465.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.3959, allocations: 185.3 kB / 465.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.396, allocations: 69.69 kB / 465.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002497/0.3963, allocations: 382.7 kB / 466.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.3967, allocations: 269.8 kB / 466.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.3974, allocations: 0.5043 MB / 467.1 MB, free: 1 MB / 334.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.4005, allocations: 1.396 MB / 468.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.4006, allocations: 4 kB / 468.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002079/0.4026, allocations: 1.091 MB / 469.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4027, allocations: 12.38 kB / 469.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001253/0.4039, allocations: 0.7607 MB / 470.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005152/0.4045, allocations: 162.4 kB / 470.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.4051, allocations: 171.8 kB / 470.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.4096, allocations: 4.498 MB / 475.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.4102, allocations: 43.91 kB / 475.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.4103, allocations: 40.05 kB / 475.3 MB, free: 8.242 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006214/0.4109, allocations: 325.3 kB / 475.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.411, allocations: 67.16 kB / 475.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.4121, allocations: 0.6357 MB / 476.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.4122, allocations: 8 kB / 476.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.4122, allocations: 0 / 476.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.4122, allocations: 7.984 kB / 476.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.4147, allocations: 1.518 MB / 477.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4147, allocations: 4 kB / 477.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.4153, allocations: 123.8 kB / 477.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4153, allocations: 4 kB / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.4154, allocations: 15.92 kB / 478 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/0.4154, allocations: 8 kB / 478 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4154, allocations: 8.188 kB / 478 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.4167, allocations: 0.9512 MB / 478.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.4169, allocations: 184.3 kB / 479.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.417, allocations: 19.92 kB / 479.1 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.4173, allocations: 19.98 kB / 479.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.4174, allocations: 36.39 kB / 479.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.4175, allocations: 12 kB / 479.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000496/0.418, allocations: 411 kB / 479.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.418, allocations: 7.938 kB / 479.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009224/0.4189, allocations: 232 kB / 479.8 MB, free: 3.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (55): * Single equations (assignments): 54 * 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.0003387/0.4192, allocations: 141.2 kB / 480 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.4208, allocations: 1.019 MB / 481 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4209, allocations: 0 / 481 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.4212, allocations: 270.6 kB / 481.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/0.4221, allocations: 134.8 kB / 481.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.4257, allocations: 2.524 MB / 483.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.4265, allocations: 1.078 MB / 485 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.4268, allocations: 63.42 kB / 485 MB, free: 14.17 MB / 366.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4268, allocations: 0 / 485 MB, free: 14.17 MB / 366.1 MB Notification: Performance of Templates: time 0.02192/0.4487, allocations: 15.18 MB / 0.4885 GB, free: 14.97 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.Generation.PowerAngleCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngleCalcHelperMain.o] Error 1