Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009285/0.0009287, allocations: 92.61 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.001184/0.001184, allocations: 175.8 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.803/1.803, 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.2001/0.2001, allocations: 38.05 MB / 310.7 MB, free: 5.914 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.000548/0.0005482, allocations: 20.56 kB / 377.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3146, allocations: 56.33 MB / 434.1 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004861/0.3195, allocations: 4.744 MB / 438.9 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.3226, allocations: 1.746 MB / 440.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000401/0.3231, allocations: 23.88 kB / 440.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.3233, allocations: 55.55 kB / 440.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007022/0.324, allocations: 246.9 kB / 441 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.3248, allocations: 235.6 kB / 441.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007448/0.3255, allocations: 0.8848 MB / 442.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008204/0.3264, allocations: 0.5052 MB / 442.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.3267, allocations: 231 kB / 442.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.3273, allocations: 378.7 kB / 443.2 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.3274, allocations: 23.98 kB / 443.2 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.3277, allocations: 143.7 kB / 443.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.3279, allocations: 219.4 kB / 443.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.3282, allocations: 272.3 kB / 443.8 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.3287, allocations: 486.9 kB / 444.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3287, allocations: 0 / 444.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3287, allocations: 4 kB / 444.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3287, allocations: 0 / 444.3 MB, free: 8.609 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001898/0.3306, allocations: 0.7893 MB / 445.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/0.3307, allocations: 8.031 kB / 445.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.3313, allocations: 100.1 kB / 445.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/0.3321, allocations: 479.8 kB / 445.7 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.3322, allocations: 33.38 kB / 445.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.3323, allocations: 52.11 kB / 445.7 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008299/0.3331, allocations: 0.6918 MB / 446.4 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.3332, allocations: 4 kB / 446.4 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.3332, allocations: 16 kB / 446.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.994e-05/0.3333, allocations: 36.98 kB / 446.5 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006891/0.334, allocations: 0.5267 MB / 447 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.3371, allocations: 3.114 MB / 450.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.3376, allocations: 324.9 kB / 450.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.3378, allocations: 185.6 kB / 450.6 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.3378, allocations: 4.5 kB / 450.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3379, allocations: 42.55 kB / 450.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.3379, allocations: 0 / 450.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001692/0.3396, allocations: 1.204 MB / 451.9 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3396, allocations: 85.05 kB / 452 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.34, allocations: 397.6 kB / 452.3 MB, free: 144 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.34, allocations: 33.7 kB / 452.4 MB, free: 104 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.3403, allocations: 307.1 kB / 452.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.3404, allocations: 106.4 kB / 452.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3405, allocations: 53.69 kB / 452.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3407, allocations: 350.7 kB / 453.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.341, allocations: 197 kB / 453.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.3414, allocations: 381.5 kB / 453.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008034/0.3423, allocations: 0.597 MB / 454.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3423, allocations: 4 kB / 454.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001982/0.3443, allocations: 0.8337 MB / 455.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3443, allocations: 8 kB / 455.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3443, allocations: 8 kB / 455.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.3456, allocations: 265.8 kB / 455.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.3462, allocations: 139.8 kB / 455.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005165/0.3513, allocations: 3.75 MB / 459.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.3518, allocations: 27.98 kB / 459.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.3518, allocations: 28.23 kB / 459.4 MB, free: 8.594 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003478/0.3522, allocations: 221.5 kB / 459.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.3523, allocations: 43.59 kB / 459.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008818/0.3532, allocations: 481.2 kB / 460.1 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3532, allocations: 11.94 kB / 460.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3532, allocations: 0 / 460.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3532, allocations: 3.984 kB / 460.1 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.3547, allocations: 1.03 MB / 461.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3548, allocations: 0 / 461.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.3552, allocations: 79.89 kB / 461.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3552, allocations: 4 kB / 461.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.3552, allocations: 15.98 kB / 461.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3553, allocations: 4 kB / 461.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3553, allocations: 0 / 461.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.3564, allocations: 0.7393 MB / 462 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3565, allocations: 120.6 kB / 462.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.3565, allocations: 8 kB / 462.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.3568, allocations: 19.97 kB / 462.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.3568, allocations: 27.91 kB / 462.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.3569, allocations: 16 kB / 462.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003013/0.3572, allocations: 271.1 kB / 462.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3572, allocations: 0 / 462.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.3577, allocations: 116 kB / 462.6 MB, free: 5.285 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0001431/0.3579, allocations: 107.2 kB / 462.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.3594, allocations: 0.8029 MB / 463.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3594, allocations: 0 / 463.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.3597, allocations: 199.9 kB / 463.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.3603, allocations: 73.98 kB / 463.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.3638, allocations: 1.841 MB / 465.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.3644, allocations: 0.894 MB / 466.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3645, allocations: 47.36 kB / 466.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3645, allocations: 0 / 466.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of Templates: time 0.01127/0.3758, allocations: 7.83 MB / 474.4 MB, free: 9.391 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.LoadCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.LoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.LoadCalcHelperMain.o] Error 1