Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008003/0.0008049, allocations: 94.44 kB / 16.96 MB, free: 6.453 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.0007723/0.0007723, allocations: 179.2 kB / 17.84 MB, free: 6 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.591/1.591, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1788/0.1788, allocations: 38.05 MB / 310.3 MB, free: 6.031 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.0005026/0.0005026, allocations: 19.98 kB / 377.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2694, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004836/0.2742, allocations: 5.327 MB / 438.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.2771, allocations: 1.934 MB / 440.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.2774, allocations: 27.81 kB / 440.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.2778, allocations: 139 kB / 440.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006645/0.2784, allocations: 342.3 kB / 441.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007572/0.2792, allocations: 339.4 kB / 441.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006723/0.2799, allocations: 0.8766 MB / 442.4 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007256/0.2806, allocations: 0.5632 MB / 443 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.281, allocations: 286.8 kB / 443.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.2815, allocations: 458.8 kB / 443.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.2815, allocations: 28 kB / 443.8 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.2818, allocations: 115.8 kB / 443.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.282, allocations: 259.3 kB / 444.1 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2821, allocations: 133.4 kB / 444.3 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.2825, allocations: 0.604 MB / 444.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2825, allocations: 0 / 444.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2825, allocations: 3.938 kB / 444.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.2825, allocations: 0 / 444.9 MB, free: 7.363 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001224/0.2838, allocations: 0.8083 MB / 445.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2838, allocations: 8.031 kB / 445.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008037/0.2846, allocations: 135.1 kB / 445.8 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007028/0.2853, allocations: 0.4992 MB / 446.3 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.2854, allocations: 37 kB / 446.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.2857, allocations: 131.8 kB / 446.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009708/0.2867, allocations: 0.8548 MB / 447.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.2867, allocations: 3.938 kB / 447.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.2868, allocations: 24 kB / 447.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003297/0.2871, allocations: 68.94 kB / 447.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007852/0.2879, allocations: 0.6166 MB / 448 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/0.2912, allocations: 3.796 MB / 451.8 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.2924, allocations: 0.5401 MB / 452.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.2929, allocations: 319 kB / 452.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-05/0.293, allocations: 12.34 kB / 452.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/0.293, allocations: 42.92 kB / 452.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.184e-06/0.293, allocations: 0 / 452.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.003045/0.2961, allocations: 1.841 MB / 454.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.2962, allocations: 81.55 kB / 454.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.2966, allocations: 421.7 kB / 455.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.2966, allocations: 33.7 kB / 455.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.2969, allocations: 331.6 kB / 455.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.2972, allocations: 201.3 kB / 455.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.2973, allocations: 12 kB / 455.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002887/0.2976, allocations: 374.8 kB / 456 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.2981, allocations: 373.5 kB / 456.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007934/0.2989, allocations: 0.594 MB / 457 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/0.2997, allocations: 481.8 kB / 457.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2997, allocations: 4 kB / 457.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003873/0.3036, allocations: 1.988 MB / 459.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3036, allocations: 12.06 kB / 459.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3036, allocations: 8 kB / 459.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/0.3058, allocations: 0.9573 MB / 460.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.3062, allocations: 115.8 kB / 460.5 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009243/0.3155, allocations: 7.376 MB / 467.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.3161, allocations: 35.97 kB / 467.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/0.3161, allocations: 39.92 kB / 468 MB, free: 15.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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: 2 {(1,100.0%) 6,(23,24.6%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003918/0.3165, allocations: 245.7 kB / 468.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.3166, allocations: 47.44 kB / 468.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3178, allocations: 0.7296 MB / 469 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.3179, allocations: 7.953 kB / 469 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3179, allocations: 0 / 469 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3179, allocations: 3.984 kB / 469 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.3203, allocations: 1.532 MB / 470.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3203, allocations: 0 / 470.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009901/0.3213, allocations: 195.8 kB / 470.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3214, allocations: 0 / 470.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.3214, allocations: 27.98 kB / 470.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.3214, allocations: 4 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3214, allocations: 0 / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.3228, allocations: 1.002 MB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3229, allocations: 124.5 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.381e-05/0.323, allocations: 23.95 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.3233, allocations: 36.02 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.3234, allocations: 36.39 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.3234, allocations: 12 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003023/0.3237, allocations: 279.1 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3238, allocations: 3.938 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008505/0.3246, allocations: 216 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * 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.0001699/0.3248, allocations: 131.1 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.3272, allocations: 1.445 MB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3272, allocations: 7.938 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.3276, allocations: 310.2 kB / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.3283, allocations: 126.8 kB / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.3327, allocations: 3.28 MB / 477.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.3334, allocations: 0.9804 MB / 478.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.3336, allocations: 51.42 kB / 478.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of SimCode: time 1.623e-06/0.3336, allocations: 0 / 478.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of Templates: time 0.01488/0.3485, allocations: 10.81 MB / 489.6 MB, free: 9.527 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.LineCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.o] Error 1