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.0009478/0.0009477, allocations: 92.38 kB / 16.95 MB, free: 5.953 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.001182/0.001182, allocations: 178.5 kB / 17.84 MB, free: 5.617 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.598/1.598, allocations: 205.4 MB / 224 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1692/0.1692, allocations: 38.05 MB / 310.3 MB, free: 6.102 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.0005047/0.0005048, allocations: 12 kB / 377.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2698, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004072/0.2739, allocations: 4.516 MB / 438 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.276, allocations: 1.665 MB / 439.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.2763, allocations: 19.88 kB / 439.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.2765, allocations: 79.38 kB / 439.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005683/0.2771, allocations: 282.6 kB / 440 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.2776, allocations: 243.6 kB / 440.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.2782, allocations: 0.7209 MB / 441 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.2788, allocations: 480.2 kB / 441.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.2791, allocations: 242.9 kB / 441.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.2796, allocations: 374.9 kB / 442.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.2796, allocations: 20 kB / 442.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.2798, allocations: 99.86 kB / 442.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.28, allocations: 227.4 kB / 442.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.2801, allocations: 109.5 kB / 442.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.2805, allocations: 494.8 kB / 443 MB, free: 9.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2805, allocations: 0 / 443 MB, free: 9.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2805, allocations: 0 / 443 MB, free: 9.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2805, allocations: 0 / 443 MB, free: 9.25 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.001391/0.2819, allocations: 0.793 MB / 443.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2819, allocations: 8.031 kB / 443.8 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004959/0.2824, allocations: 95.19 kB / 443.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007091/0.2832, allocations: 470.8 kB / 444.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.2832, allocations: 33 kB / 444.4 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.2833, allocations: 51.98 kB / 444.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.2841, allocations: 0.6801 MB / 445.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2841, allocations: 0 / 445.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.2842, allocations: 20 kB / 445.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.819e-05/0.2843, allocations: 32.97 kB / 445.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.2849, allocations: 0.5229 MB / 445.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.2875, allocations: 3.118 MB / 448.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.288, allocations: 321.3 kB / 449.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.2882, allocations: 178.1 kB / 449.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.2882, allocations: 11.98 kB / 449.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2882, allocations: 42.45 kB / 449.3 MB, free: 2.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.2882, allocations: 0 / 449.3 MB, free: 2.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001571/0.2898, allocations: 1.207 MB / 450.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.2899, allocations: 89.22 kB / 450.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.2902, allocations: 389.4 kB / 451 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.2902, allocations: 33.7 kB / 451.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2903, allocations: 291.2 kB / 451.3 MB, free: 480 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.2904, allocations: 122.3 kB / 451.5 MB, free: 356 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.2904, allocations: 12 kB / 451.5 MB, free: 344 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.2906, allocations: 350.8 kB / 451.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.2908, allocations: 189 kB / 452 MB, free: 15.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.2913, allocations: 377.6 kB / 452.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.2916, allocations: 259.6 kB / 452.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2917, allocations: 7.938 kB / 452.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001686/0.2933, allocations: 0.8264 MB / 453.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2934, allocations: 11.94 kB / 453.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2934, allocations: 4 kB / 453.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.2945, allocations: 265.4 kB / 453.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.295, allocations: 139.9 kB / 453.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.2994, allocations: 3.764 MB / 457.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.2998, allocations: 23.98 kB / 457.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.2998, allocations: 27.98 kB / 457.7 MB, free: 9.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002962/0.3001, allocations: 225.5 kB / 457.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.3002, allocations: 39.53 kB / 457.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007648/0.301, allocations: 492.8 kB / 458.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.301, allocations: 4.25 kB / 458.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.301, allocations: 0 / 458.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.301, allocations: 11.98 kB / 458.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.3024, allocations: 1.015 MB / 459.5 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3024, allocations: 0 / 459.5 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.3028, allocations: 83.89 kB / 459.5 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3028, allocations: 4 kB / 459.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.3028, allocations: 11.98 kB / 459.5 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3028, allocations: 0 / 459.5 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3029, allocations: 4 kB / 459.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008933/0.3037, allocations: 0.7431 MB / 460.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.3038, allocations: 116.6 kB / 460.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.3039, allocations: 8 kB / 460.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.3041, allocations: 20.06 kB / 460.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.3042, allocations: 27.91 kB / 460.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.3042, allocations: 12 kB / 460.5 MB, free: 6.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002629/0.3045, allocations: 271.1 kB / 460.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3045, allocations: 0 / 460.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004924/0.305, allocations: 124 kB / 460.9 MB, free: 6.434 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00013/0.3051, allocations: 111.2 kB / 461 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.3064, allocations: 0.7833 MB / 461.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3064, allocations: 0 / 461.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.3067, allocations: 193.2 kB / 461.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.3073, allocations: 86.08 kB / 462 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.3106, allocations: 1.78 MB / 463.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.3112, allocations: 0.8979 MB / 464.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3114, allocations: 39.42 kB / 464.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3114, allocations: 0 / 464.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of Templates: time 0.01191/0.3233, allocations: 7.847 MB / 472.6 MB, free: 10.6 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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