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.0009009/0.0009009, allocations: 110.2 kB / 17.16 MB, free: 6.082 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.0008827/0.0008827, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.203/1.203, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1569/0.1569, allocations: 37.98 MB / 309.2 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.00116/0.00116, allocations: 63.03 kB / 375.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1998, allocations: 55.23 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006367/0.2062, allocations: 8.688 MB / 439.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.2098, allocations: 3.432 MB / 442.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003427/0.2102, allocations: 47.69 kB / 442.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.2115, allocations: 0.7263 MB / 443.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009338/0.2125, allocations: 0.6342 MB / 444 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.213, allocations: 331.5 kB / 444.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.2142, allocations: 2.003 MB / 446.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006424/0.2148, allocations: 0.7049 MB / 447.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.2152, allocations: 489.9 kB / 447.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005471/0.2157, allocations: 0.658 MB / 448.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.383e-05/0.2158, allocations: 55.94 kB / 448.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.2164, allocations: 487.1 kB / 448.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.2166, allocations: 442.8 kB / 449.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.2169, allocations: 489.5 kB / 449.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.2177, allocations: 1.088 MB / 450.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2177, allocations: 0 / 450.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.2177, allocations: 0 / 450.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.2177, allocations: 0 / 450.7 MB, free: 15.47 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.001903/0.2196, allocations: 1.266 MB / 452 MB, free: 14.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2197, allocations: 11.97 kB / 452 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.2208, allocations: 203.6 kB / 452.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.2219, allocations: 0.6788 MB / 452.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.2219, allocations: 58.38 kB / 452.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.2221, allocations: 95.91 kB / 453 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.2236, allocations: 1.115 MB / 454.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.2236, allocations: 7.984 kB / 454.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.988e-05/0.2237, allocations: 31.98 kB / 454.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.2238, allocations: 69.97 kB / 454.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.2251, allocations: 0.8938 MB / 455.2 MB, free: 10.91 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.004484/0.2296, allocations: 4.082 MB / 459.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.2301, allocations: 429.8 kB / 459.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.2305, allocations: 270.2 kB / 459.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.2305, allocations: 15.92 kB / 459.9 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2306, allocations: 42.5 kB / 460 MB, free: 5.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.963e-06/0.2306, allocations: 0 / 460 MB, free: 5.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.003765/0.2343, allocations: 1.978 MB / 462 MB, free: 3.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.2344, allocations: 81.55 kB / 462 MB, free: 3.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.235, allocations: 0.5654 MB / 462.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.235, allocations: 37.7 kB / 462.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.2353, allocations: 478.3 kB / 463.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.2355, allocations: 181.4 kB / 463.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.2356, allocations: 146.5 kB / 463.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2358, allocations: 390.7 kB / 463.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.2362, allocations: 265.8 kB / 464.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.2367, allocations: 0.5043 MB / 464.6 MB, free: 1.027 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.002811/0.2395, allocations: 1.408 MB / 466 MB, free: 15.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2396, allocations: 4 kB / 466 MB, free: 15.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001669/0.2412, allocations: 1.095 MB / 467.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2413, allocations: 8 kB / 467.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001111/0.2424, allocations: 0.7648 MB / 467.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/0.2429, allocations: 158.4 kB / 468 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.2434, allocations: 171.7 kB / 468.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.2469, allocations: 4.502 MB / 472.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.2473, allocations: 39.97 kB / 472.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/0.2474, allocations: 35.97 kB / 472.7 MB, free: 8.262 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 system: 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.0004125/0.2478, allocations: 329.4 kB / 473.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.882e-05/0.2479, allocations: 67.16 kB / 473.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009466/0.2489, allocations: 0.6318 MB / 473.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.2489, allocations: 7.938 kB / 473.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.2489, allocations: 0 / 473.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2489, allocations: 3.984 kB / 473.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.251, allocations: 1.534 MB / 475.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.251, allocations: 0 / 475.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.2516, allocations: 119.9 kB / 475.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.2516, allocations: 4 kB / 475.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.2516, allocations: 23.92 kB / 475.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.2516, allocations: 4 kB / 475.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2516, allocations: 3.938 kB / 475.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.2527, allocations: 0.9438 MB / 476.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.2529, allocations: 184.3 kB / 476.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.253, allocations: 23.94 kB / 476.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.2533, allocations: 23.97 kB / 476.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.2534, allocations: 32.34 kB / 476.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.2534, allocations: 19.98 kB / 476.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003964/0.2538, allocations: 411 kB / 477.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2538, allocations: 0 / 477.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000702/0.2546, allocations: 228 kB / 477.3 MB, free: 3.543 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.0002511/0.2548, allocations: 150.1 kB / 477.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.2561, allocations: 1.014 MB / 478.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2561, allocations: 0 / 478.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.2565, allocations: 267.7 kB / 478.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.2572, allocations: 151.2 kB / 478.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.2601, allocations: 2.399 MB / 481.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.2607, allocations: 1.078 MB / 482.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.2609, allocations: 63.42 kB / 482.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2609, allocations: 0 / 482.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of Templates: time 0.01577/0.2767, allocations: 15.27 MB / 497.7 MB, free: 15.02 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