Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 91.12 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.001395/0.001396, allocations: 183 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.785/1.785, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1757/0.1757, allocations: 38.05 MB / 310.7 MB, free: 5.898 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.0005297/0.0005298, allocations: 16 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3663, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01167/0.378, allocations: 9.956 MB / 444.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006422/0.3845, allocations: 3.635 MB / 447.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.3863, allocations: 59.62 kB / 447.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009344/0.3872, allocations: 270.2 kB / 448.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.3894, allocations: 0.7195 MB / 448.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3905, allocations: 437.9 kB / 449.2 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.3927, allocations: 2.432 MB / 451.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.394, allocations: 1.013 MB / 452.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.395, allocations: 0.5792 MB / 453.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.3961, allocations: 0.7508 MB / 454 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.3962, allocations: 56 kB / 454 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006165/0.3968, allocations: 291.5 kB / 454.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004128/0.3973, allocations: 406.7 kB / 454.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006312/0.3979, allocations: 0.6234 MB / 455.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.3994, allocations: 1.523 MB / 456.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3994, allocations: 0 / 456.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.676e-06/0.3994, allocations: 0 / 456.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.3994, allocations: 0 / 456.9 MB, free: 11.83 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003026/0.4025, allocations: 1.41 MB / 458.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4025, allocations: 8.031 kB / 458.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/0.4033, allocations: 195.2 kB / 458.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.4049, allocations: 0.9109 MB / 459.4 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.807e-05/0.405, allocations: 82.06 kB / 459.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.4053, allocations: 120 kB / 459.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.4076, allocations: 1.352 MB / 460.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.4076, allocations: 3.906 kB / 460.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.4077, allocations: 47.98 kB / 461 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.4079, allocations: 69.91 kB / 461 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.4098, allocations: 1.085 MB / 462.1 MB, free: 6.375 MB / 334.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007556/0.4173, allocations: 5.153 MB / 467.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.4187, allocations: 0.7697 MB / 468.1 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/0.4192, allocations: 356.8 kB / 468.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.4193, allocations: 4.562 kB / 468.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4193, allocations: 39.12 kB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=64): time 2.254e-06/0.4193, allocations: 0 / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=71): time 0.00582/0.4252, allocations: 2.709 MB / 471.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.4253, allocations: 137.1 kB / 471.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.4263, allocations: 0.7551 MB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.4264, allocations: 37.7 kB / 472.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005167/0.4269, allocations: 0.5688 MB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.4272, allocations: 252.4 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.4273, allocations: 77.67 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4275, allocations: 341.9 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/0.4281, allocations: 293.8 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/0.429, allocations: 0.549 MB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.4303, allocations: 0.9092 MB / 475.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.4303, allocations: 7.938 kB / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002957/0.4333, allocations: 1.375 MB / 476.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002819/0.4336, allocations: 325.9 kB / 476.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.4336, allocations: 8 kB / 476.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.435, allocations: 420.5 kB / 477.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.4357, allocations: 171.7 kB / 477.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008635/0.4443, allocations: 4.945 MB / 482.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007834/0.4451, allocations: 43.92 kB / 482.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.4452, allocations: 36 kB / 482.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4452, allocations: 7.984 kB / 482.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002553/0.4478, allocations: 1.156 MB / 483.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4478, allocations: 8 kB / 483.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.4491, allocations: 396.5 kB / 483.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.4497, allocations: 175.7 kB / 484.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/0.4566, allocations: 4.643 MB / 488.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.4573, allocations: 35.98 kB / 488.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.4573, allocations: 36 kB / 488.8 MB, free: 10.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007467/0.4581, allocations: 448.6 kB / 489.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.4583, allocations: 90.88 kB / 489.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.4599, allocations: 0.8792 MB / 490.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.4599, allocations: 8 kB / 490.2 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4599, allocations: 3.938 kB / 490.2 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4599, allocations: 7.984 kB / 490.2 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.463, allocations: 1.873 MB / 492.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.463, allocations: 0 / 492.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/0.4638, allocations: 163.8 kB / 492.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.4638, allocations: 8.031 kB / 492.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.4639, allocations: 19.98 kB / 492.3 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.4639, allocations: 7.938 kB / 492.3 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4639, allocations: 0 / 492.3 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.4657, allocations: 1.29 MB / 493.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.4661, allocations: 219.9 kB / 493.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4662, allocations: 20 kB / 493.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.4667, allocations: 31.97 kB / 493.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.4668, allocations: 40.61 kB / 493.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.4668, allocations: 23.98 kB / 493.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006924/0.4675, allocations: 0.5068 MB / 494.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4675, allocations: 7.938 kB / 494.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001658/0.4692, allocations: 471.9 kB / 494.9 MB, free: 4.355 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * 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.000355/0.4696, allocations: 146.1 kB / 495 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003582/0.4732, allocations: 1.916 MB / 497 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4732, allocations: 4.125 kB / 497 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.4737, allocations: 359.5 kB / 497.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4751, allocations: 230.4 kB / 497.5 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/0.4797, allocations: 3.218 MB / 0.489 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.4807, allocations: 1.201 MB / 0.4902 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.481, allocations: 71.42 kB / 0.4903 GB, free: 13.13 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.481, allocations: 0 / 0.4903 GB, free: 13.13 MB / 382.1 MB Notification: Performance of Templates: time 0.02744/0.5084, allocations: 17.04 MB / 0.5069 GB, free: 12.09 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.LocalGenerationCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGenerationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGenerationCalcHelperMain.o] Error 1