Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 96.31 kB / 16.37 MB, free: 5.707 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.001172/0.001172, allocations: 193 kB / 17.28 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 241.3 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06236/0.06236, allocations: 8.089 MB / 300.5 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003545, allocations: 12 kB / 363.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2731, allocations: 52.5 MB / 416 MB, free: 24.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.00214/0.2753, allocations: 2.231 MB / 418.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.277, allocations: 1.24 MB / 419.5 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.2773, allocations: 11.88 kB / 419.5 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.2778, allocations: 219.4 kB / 419.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.2782, allocations: 231.1 kB / 419.9 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.2797, allocations: 0.8025 MB / 420.7 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.2802, allocations: 378.5 kB / 421.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2804, allocations: 64.77 kB / 421.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.2806, allocations: 175.4 kB / 421.3 MB, free: 19.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.281, allocations: 259.2 kB / 421.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.2811, allocations: 20 kB / 421.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005269/0.2816, allocations: 283.7 kB / 421.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.2817, allocations: 131.6 kB / 422 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2819, allocations: 113.4 kB / 422.1 MB, free: 18.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.2823, allocations: 0.5008 MB / 422.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2823, allocations: 0 / 422.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2823, allocations: 0 / 422.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2823, allocations: 0 / 422.6 MB, free: 18.31 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003029/0.2854, allocations: 1.284 MB / 423.9 MB, free: 16.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2854, allocations: 11.97 kB / 423.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.2855, allocations: 67.2 kB / 424 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.286, allocations: 443 kB / 424.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.286, allocations: 16 kB / 424.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.286, allocations: 24 kB / 424.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.2866, allocations: 414.2 kB / 424.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2866, allocations: 0 / 424.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.2867, allocations: 8 kB / 424.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2867, allocations: 8 kB / 424.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.2871, allocations: 355.9 kB / 425.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.2884, allocations: 1.109 MB / 426.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/0.2891, allocations: 0.5038 MB / 426.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.2895, allocations: 280.9 kB / 427.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007686/0.2902, allocations: 0.8549 MB / 428 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.2908, allocations: 484.6 kB / 428.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.523e-06/0.2908, allocations: 0 / 428.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002685/0.2935, allocations: 1.412 MB / 429.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.2935, allocations: 255.5 kB / 430.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005631/0.2941, allocations: 0.6864 MB / 430.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.2942, allocations: 37.7 kB / 430.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2943, allocations: 252.6 kB / 431.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/0.2944, allocations: 114.4 kB / 431.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.2944, allocations: 8 kB / 431.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.2945, allocations: 378.8 kB / 431.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.2947, allocations: 200.8 kB / 431.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.295, allocations: 314.9 kB / 432.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.2953, allocations: 287.6 kB / 432.3 MB, free: 8.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2953, allocations: 0 / 432.3 MB, free: 8.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001345/0.2966, allocations: 0.9311 MB / 433.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.2967, allocations: 71.39 kB / 433.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2967, allocations: 7.984 kB / 433.4 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.2979, allocations: 355.2 kB / 433.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.2982, allocations: 59.91 kB / 433.8 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.2996, allocations: 2.164 MB / 435.9 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.3, allocations: 87.73 kB / 436 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.3001, allocations: 20 kB / 436 MB, free: 4.16 MB / 302.1 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$PRE.varTra.tapChanger.tap,varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,$PRE.varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.3004, allocations: 320.5 kB / 436.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-05/0.3005, allocations: 67.25 kB / 436.4 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.3023, allocations: 1.169 MB / 437.6 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3023, allocations: 4 kB / 437.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3023, allocations: 0 / 437.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3023, allocations: 11.88 kB / 437.6 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.3027, allocations: 0.5555 MB / 438.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3027, allocations: 0 / 438.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.3028, allocations: 27.98 kB / 438.2 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.3041, allocations: 417.4 kB / 438.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.3041, allocations: 15.98 kB / 438.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.306, allocations: 2.279 MB / 440.9 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.306, allocations: 3.938 kB / 440.9 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.3082, allocations: 1.174 MB / 442.1 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.3084, allocations: 200.2 kB / 442.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-05/0.3085, allocations: 27.95 kB / 442.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.3089, allocations: 59.94 kB / 442.3 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.309, allocations: 39.95 kB / 442.4 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.3091, allocations: 19.98 kB / 442.4 MB, free: 13.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005855/0.3097, allocations: 494.7 kB / 442.9 MB, free: 12.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3097, allocations: 0 / 442.9 MB, free: 12.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.3102, allocations: 140 kB / 443 MB, free: 12.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003077/0.3105, allocations: 175.1 kB / 443.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.312, allocations: 0.8648 MB / 444 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.312, allocations: 0 / 444 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009959/0.313, allocations: 0.7088 MB / 444.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3134, allocations: 55 kB / 444.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.3153, allocations: 1.246 MB / 446.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.3158, allocations: 0.8718 MB / 446.9 MB, free: 8.789 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.363e-05/0.3159, allocations: 35.42 kB / 447 MB, free: 8.754 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3159, allocations: 8 kB / 447 MB, free: 8.746 MB / 318.1 MB Notification: Performance of Templates: time 0.01469/0.3306, allocations: 9.927 MB / 456.9 MB, free: 14.82 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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 OMCppPowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1CalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1CalcHelperMain.o] Error 1