Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009487/0.0009488, allocations: 96.86 kB / 16.38 MB, free: 5.957 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.001189/0.001189, allocations: 182.8 kB / 17.27 MB, free: 5.84 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.511/1.511, allocations: 223.2 MB / 241.3 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05737/0.05737, allocations: 8.099 MB / 300.5 MB, free: 6.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 8 kB / 363.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 52.51 MB / 416 MB, free: 24.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.001741/0.2851, allocations: 1.42 MB / 417.4 MB, free: 23.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.287, allocations: 1.6 MB / 419 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.573e-05/0.2871, allocations: 4 kB / 419 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.2873, allocations: 103.5 kB / 419.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.2876, allocations: 119.3 kB / 419.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2887, allocations: 0.7506 MB / 420 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.2891, allocations: 306.7 kB / 420.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.2892, allocations: 44.72 kB / 420.3 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.2893, allocations: 119.5 kB / 420.5 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.2895, allocations: 139.4 kB / 420.6 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.2895, allocations: 16 kB / 420.6 MB, free: 20.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.2899, allocations: 215.8 kB / 420.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.2899, allocations: 51.7 kB / 420.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.29, allocations: 73.58 kB / 420.9 MB, free: 19.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.2903, allocations: 353 kB / 421.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2903, allocations: 0 / 421.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2903, allocations: 0 / 421.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2903, allocations: 0 / 421.3 MB, free: 19.65 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002994/0.2933, allocations: 1.019 MB / 422.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2934, allocations: 8.031 kB / 422.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.2935, allocations: 31.67 kB / 422.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.2938, allocations: 293.6 kB / 422.6 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.2939, allocations: 15.98 kB / 422.6 MB, free: 18.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.294, allocations: 20 kB / 422.7 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.2945, allocations: 331.2 kB / 423 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2946, allocations: 0 / 423 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.2946, allocations: 4 kB / 423 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2946, allocations: 7.953 kB / 423 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.295, allocations: 275.8 kB / 423.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.2962, allocations: 0.9478 MB / 424.2 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007013/0.2969, allocations: 435.4 kB / 424.6 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.2972, allocations: 201.3 kB / 424.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007523/0.298, allocations: 0.8193 MB / 425.7 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000511/0.2985, allocations: 379.6 kB / 426 MB, free: 14.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.2985, allocations: 0 / 426 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.002269/0.3008, allocations: 1.036 MB / 427.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.3009, allocations: 225.5 kB / 427.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.3011, allocations: 258.5 kB / 427.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.3012, allocations: 33.7 kB / 427.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.3013, allocations: 148.7 kB / 427.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.3014, allocations: 102.5 kB / 427.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.3014, allocations: 4 kB / 427.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3015, allocations: 346.8 kB / 428.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.3017, allocations: 132.4 kB / 428.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.302, allocations: 238.7 kB / 428.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.3022, allocations: 186 kB / 428.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3023, allocations: 4 kB / 428.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008288/0.3031, allocations: 0.5901 MB / 429.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.3031, allocations: 42.03 kB / 429.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3032, allocations: 8 kB / 429.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.3044, allocations: 359.1 kB / 429.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.3047, allocations: 67.84 kB / 429.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.3062, allocations: 2.161 MB / 431.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.3065, allocations: 92.5 kB / 432 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.3066, allocations: 15.94 kB / 432 MB, free: 8.207 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 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 slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$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 (40): * Single equations (assignments): 38 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.3068, allocations: 212.8 kB / 432.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.3069, allocations: 39.58 kB / 432.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.3083, allocations: 0.8313 MB / 433.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3083, allocations: 3.984 kB / 433.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.3083, allocations: 4 kB / 433.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3083, allocations: 7.938 kB / 433.1 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.3087, allocations: 433.2 kB / 433.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3087, allocations: 4.062 kB / 433.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.3088, allocations: 27.98 kB / 433.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.3101, allocations: 421.1 kB / 434 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.3101, allocations: 15.92 kB / 434 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.3118, allocations: 2.271 MB / 436.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3118, allocations: 192 / 436.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.3134, allocations: 1.051 MB / 437.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.3136, allocations: 152.6 kB / 437.5 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.3136, allocations: 20 kB / 437.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.314, allocations: 55.95 kB / 437.6 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3141, allocations: 43.95 kB / 437.6 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.3141, allocations: 16 kB / 437.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.3143, allocations: 186 kB / 437.8 MB, free: 2.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3143, allocations: 0 / 437.8 MB, free: 2.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.3147, allocations: 96 kB / 437.9 MB, free: 2.039 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002096/0.3149, allocations: 150.3 kB / 438 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.316, allocations: 0.6394 MB / 438.7 MB, free: 1.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.316, allocations: 4.25 kB / 438.7 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006792/0.3167, allocations: 0.5457 MB / 439.2 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3169, allocations: 32.56 kB / 439.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.3181, allocations: 0.7356 MB / 440 MB, free: 15.85 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3185, allocations: 0.7722 MB / 440.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.3185, allocations: 27.42 kB / 440.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3186, allocations: 3.938 kB / 440.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of Templates: time 0.008933/0.3275, allocations: 6.157 MB / 446.9 MB, free: 8.871 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.VariableTransformer2CalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2CalcHelperMain.o] Error 1