Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009207/0.0009211, allocations: 94.67 kB / 16.96 MB, free: 6.406 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.0008242/0.0008242, allocations: 178.9 kB / 17.84 MB, free: 5.969 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.529/1.529, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1668/0.1668, allocations: 38.05 MB / 310.3 MB, free: 6.023 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.0005139/0.0005139, allocations: 23.28 kB / 377.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3153, allocations: 56.34 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005162/0.3206, allocations: 5.815 MB / 439.3 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.3229, allocations: 1.642 MB / 440.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003236/0.3232, allocations: 35.75 kB / 441 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.3236, allocations: 123.1 kB / 441.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007924/0.3244, allocations: 414 kB / 441.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.3248, allocations: 179.7 kB / 441.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006444/0.3254, allocations: 0.9229 MB / 442.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.3257, allocations: 163.1 kB / 442.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.326, allocations: 294.6 kB / 443 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.3265, allocations: 390.7 kB / 443.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.3265, allocations: 24 kB / 443.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.3266, allocations: 20 kB / 443.5 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3267, allocations: 183.4 kB / 443.7 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.472e-05/0.3268, allocations: 125.4 kB / 443.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.3272, allocations: 422.9 kB / 444.2 MB, free: 8.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3272, allocations: 7.938 kB / 444.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3272, allocations: 0 / 444.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3272, allocations: 0 / 444.2 MB, free: 8.074 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001117/0.3283, allocations: 0.8101 MB / 445 MB, free: 7.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3284, allocations: 8.031 kB / 445 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.284e-05/0.3285, allocations: 63.2 kB / 445.1 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.3291, allocations: 465.7 kB / 445.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.3291, allocations: 29 kB / 445.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.3292, allocations: 40 kB / 445.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.3298, allocations: 0.5351 MB / 446.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3298, allocations: 3.938 kB / 446.1 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.3299, allocations: 16 kB / 446.1 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.3299, allocations: 20.95 kB / 446.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.3304, allocations: 399.6 kB / 446.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.3322, allocations: 1.936 MB / 448.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.3327, allocations: 333.3 kB / 448.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.333, allocations: 185.5 kB / 449 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.333, allocations: 4 kB / 449 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.3333, allocations: 284.2 kB / 449.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.323e-06/0.3333, allocations: 0 / 449.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001482/0.3348, allocations: 1.175 MB / 450.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.3349, allocations: 166.2 kB / 450.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.3352, allocations: 401.9 kB / 451 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3352, allocations: 29.7 kB / 451 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.3354, allocations: 295.6 kB / 451.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.3354, allocations: 110.4 kB / 451.4 MB, free: 412 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.3355, allocations: 12 kB / 451.5 MB, free: 400 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.3356, allocations: 358.8 kB / 451.8 MB, free: 32 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.3358, allocations: 121 kB / 451.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.3361, allocations: 282.1 kB / 452.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.3364, allocations: 185.6 kB / 452.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3364, allocations: 3.938 kB / 452.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007171/0.3371, allocations: 0.5145 MB / 452.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.3372, allocations: 34.39 kB / 452.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3372, allocations: 7.984 kB / 452.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.3372, allocations: 12 kB / 452.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.3376, allocations: 107.8 kB / 453.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.3376, allocations: 15.92 kB / 453.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.3379, allocations: 23.94 kB / 453.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.3379, allocations: 35.97 kB / 453.1 MB, free: 14.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.3382, allocations: 255.2 kB / 453.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.3383, allocations: 51.39 kB / 453.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000686/0.339, allocations: 451.5 kB / 453.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.339, allocations: 4 kB / 453.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.339, allocations: 0 / 453.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.339, allocations: 0 / 453.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.3402, allocations: 0.9769 MB / 454.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3403, allocations: 0 / 454.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.3406, allocations: 71.92 kB / 454.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.3406, allocations: 4 kB / 454.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.3406, allocations: 8 kB / 454.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.3406, allocations: 4 kB / 454.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3406, allocations: 3.984 kB / 454.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/0.3416, allocations: 0.7016 MB / 455.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.3417, allocations: 144.6 kB / 455.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.3418, allocations: 8 kB / 455.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.342, allocations: 19.98 kB / 455.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.3421, allocations: 19.97 kB / 455.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.3421, allocations: 31.97 kB / 455.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002707/0.3424, allocations: 263.1 kB / 456.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3424, allocations: 0 / 456.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.3429, allocations: 108 kB / 456.2 MB, free: 11.37 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0001501/0.343, allocations: 111.2 kB / 456.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005955/0.3436, allocations: 412.4 kB / 456.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3436, allocations: 0 / 456.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.344, allocations: 272 kB / 457 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.3446, allocations: 105.8 kB / 457.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3462, allocations: 1.225 MB / 458.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.3469, allocations: 0.882 MB / 459.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-05/0.347, allocations: 39.42 kB / 459.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.347, allocations: 0 / 459.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of Templates: time 0.008484/0.3555, allocations: 5.854 MB / 465.1 MB, free: 2.391 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.TransformerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.TransformerCalcHelperMain.o] Error 1