Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009856, allocations: 93.17 kB / 17.31 MB, free: 5.672 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.001317/0.001317, allocations: 176.6 kB / 18.21 MB, free: 5.246 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.808/1.808, 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.1897/0.1897, allocations: 38.06 MB / 310.7 MB, free: 5.98 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.0006733/0.0006732, allocations: 19.12 kB / 377.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3192, allocations: 56.32 MB / 434.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005696/0.3249, allocations: 6.119 MB / 440.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3272, allocations: 1.649 MB / 441.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.3276, allocations: 39.69 kB / 441.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.328, allocations: 119.3 kB / 442.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006653/0.3287, allocations: 350.6 kB / 442.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.3289, allocations: 119.9 kB / 442.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008168/0.3297, allocations: 1.134 MB / 443.7 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.33, allocations: 176.1 kB / 443.8 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.3304, allocations: 278.5 kB / 444.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.3309, allocations: 386.7 kB / 444.5 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.3309, allocations: 20 kB / 444.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.774e-05/0.331, allocations: 24 kB / 444.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3311, allocations: 171.5 kB / 444.7 MB, free: 8.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.3313, allocations: 252.5 kB / 444.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.3317, allocations: 402.9 kB / 445.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3317, allocations: 0 / 445.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3317, allocations: 0 / 445.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3317, allocations: 0 / 445.3 MB, free: 7.434 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001152/0.3329, allocations: 0.723 MB / 446.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3329, allocations: 12.03 kB / 446.1 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.519e-05/0.333, allocations: 52.38 kB / 446.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.3336, allocations: 456.4 kB / 446.6 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.3337, allocations: 36.94 kB / 446.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.987e-05/0.3337, allocations: 40 kB / 446.6 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/0.3344, allocations: 0.4883 MB / 447.1 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3344, allocations: 8 kB / 447.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3344, allocations: 16 kB / 447.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.3345, allocations: 24.98 kB / 447.2 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.335, allocations: 371.6 kB / 447.5 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.3369, allocations: 2.099 MB / 449.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/0.3372, allocations: 233.3 kB / 449.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.3375, allocations: 129.7 kB / 450 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3375, allocations: 4 kB / 450 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3375, allocations: 38.56 kB / 450 MB, free: 2.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.3375, allocations: 0 / 450 MB, free: 2.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001181/0.3387, allocations: 0.755 MB / 450.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3388, allocations: 81.05 kB / 450.9 MB, free: 1.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.339, allocations: 393.5 kB / 451.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3391, allocations: 29.7 kB / 451.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.3392, allocations: 295 kB / 451.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.3393, allocations: 74.92 kB / 451.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.3393, allocations: 41.69 kB / 451.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.3394, allocations: 346.8 kB / 452 MB, free: 348 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3395, allocations: 84.83 kB / 452.1 MB, free: 264 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.3399, allocations: 285.2 kB / 452.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.3406, allocations: 404.2 kB / 452.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.3406, allocations: 4 kB / 452.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001008/0.3417, allocations: 445.8 kB / 453.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.3417, allocations: 8 kB / 453.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.3417, allocations: 8 kB / 453.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002631/0.342, allocations: 48.83 kB / 453.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.3424, allocations: 87.83 kB / 453.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.3445, allocations: 1.504 MB / 454.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.3448, allocations: 20.17 kB / 454.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.3449, allocations: 20 kB / 454.9 MB, free: 13.13 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003089/0.3452, allocations: 213.6 kB / 455.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.938e-05/0.3453, allocations: 35.53 kB / 455.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.3458, allocations: 233.1 kB / 455.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3458, allocations: 7.938 kB / 455.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3458, allocations: 3.938 kB / 455.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.3458, allocations: 3.984 kB / 455.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.3471, allocations: 0.6905 MB / 456.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3471, allocations: 0 / 456.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.3474, allocations: 47.91 kB / 456.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3474, allocations: 4 kB / 456.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.3475, allocations: 7.938 kB / 456.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3475, allocations: 7.984 kB / 456.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3475, allocations: 0 / 456.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.3482, allocations: 440.8 kB / 456.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.3484, allocations: 132.5 kB / 456.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.3485, allocations: 4 kB / 456.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3486, allocations: 11.94 kB / 456.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.3487, allocations: 15.97 kB / 456.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.3487, allocations: 8 kB / 456.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003576/0.3491, allocations: 255.2 kB / 457 MB, free: 10.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3491, allocations: 4.062 kB / 457 MB, free: 10.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005732/0.3497, allocations: 88 kB / 457.1 MB, free: 10.83 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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.0001664/0.3499, allocations: 99.25 kB / 457.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008918/0.3508, allocations: 395 kB / 457.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3508, allocations: 3.938 kB / 457.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.351, allocations: 95.83 kB / 457.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008149/0.3518, allocations: 93.36 kB / 457.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3538, allocations: 1.113 MB / 458.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.3544, allocations: 0.8548 MB / 459.7 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.3545, allocations: 35.44 kB / 459.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3545, allocations: 0 / 459.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of Templates: time 0.01266/0.3672, allocations: 5.899 MB / 465.7 MB, free: 2.176 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhaseCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhaseCalcHelperMain.o] Error 1