Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007905/0.0007905, allocations: 96.83 kB / 16.38 MB, free: 5.961 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.0008055/0.0008056, allocations: 186.5 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.514/1.514, allocations: 223.2 MB / 241.3 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.302/0.302, allocations: 8.082 MB / 300.5 MB, free: 2.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003583, allocations: 8 kB / 363.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 52.51 MB / 416 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003584/0.1286, allocations: 2.725 MB / 418.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.1309, allocations: 1.025 MB / 419.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.1313, allocations: 4 kB / 419.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.1319, allocations: 127.4 kB / 419.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008781/0.1328, allocations: 210.9 kB / 420.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.1349, allocations: 1.016 MB / 421.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007815/0.1357, allocations: 450 kB / 421.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.1359, allocations: 94.33 kB / 421.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.1363, allocations: 175.3 kB / 421.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.1366, allocations: 219.1 kB / 422 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.1367, allocations: 20 kB / 422 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.1373, allocations: 275.7 kB / 422.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-05/0.1374, allocations: 71.67 kB / 422.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1376, allocations: 97.45 kB / 422.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005955/0.1382, allocations: 499 kB / 423 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1382, allocations: 0 / 423 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1382, allocations: 4 kB / 423 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1382, allocations: 0 / 423 MB, free: 1.707 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.004138/0.1424, allocations: 1.253 MB / 424.2 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1424, allocations: 11.97 kB / 424.2 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.1426, allocations: 55.39 kB / 424.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2493/0.3919, allocations: 335.3 kB / 424.6 MB, free: 41.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.3921, allocations: 53.05 kB / 424.7 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.3922, allocations: 31.75 kB / 424.7 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.3932, allocations: 487.7 kB / 425.2 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3933, allocations: 1.969 kB / 425.2 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.3933, allocations: 16.73 kB / 425.2 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3933, allocations: 4.875 kB / 425.2 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008041/0.3942, allocations: 479.1 kB / 425.7 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.3968, allocations: 2.008 MB / 427.7 MB, free: 40.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009963/0.3978, allocations: 0.5546 MB / 428.2 MB, free: 40.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004835/0.3983, allocations: 338.2 kB / 428.5 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.3985, allocations: 94.3 kB / 428.6 MB, free: 40.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007481/0.3993, allocations: 0.5485 MB / 429.2 MB, free: 39.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.304e-06/0.3993, allocations: 0 / 429.2 MB, free: 39.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.005283/0.4046, allocations: 1.891 MB / 431.1 MB, free: 39.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.4046, allocations: 199.7 kB / 431.3 MB, free: 39.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.405, allocations: 315.4 kB / 431.6 MB, free: 39.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.405, allocations: 41.95 kB / 431.6 MB, free: 39.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.4051, allocations: 182 kB / 431.8 MB, free: 39.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.4052, allocations: 155.8 kB / 432 MB, free: 39.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.4053, allocations: 13.12 kB / 432 MB, free: 39.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.4054, allocations: 344.3 kB / 432.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.4059, allocations: 295.3 kB / 432.6 MB, free: 38.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.4065, allocations: 350.7 kB / 432.9 MB, free: 38.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.407, allocations: 343.7 kB / 433.3 MB, free: 38.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4071, allocations: 0 / 433.3 MB, free: 38.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003/0.4101, allocations: 1.322 MB / 434.6 MB, free: 38.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.4101, allocations: 39.22 kB / 434.6 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4101, allocations: 3.953 kB / 434.6 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003412/0.4136, allocations: 0.8685 MB / 435.5 MB, free: 37.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.4139, allocations: 77.55 kB / 435.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.4154, allocations: 1.272 MB / 436.8 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.416, allocations: 101.6 kB / 436.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.4161, allocations: 23.83 kB / 437 MB, free: 36.87 MB / 350.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: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition5,$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,$PRE.varLoad.degradedMode,varLoad.degradedMode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004086/0.4165, allocations: 225.3 kB / 437.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.4166, allocations: 42.28 kB / 437.2 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.4185, allocations: 1.241 MB / 438.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4185, allocations: 6.75 kB / 438.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.4186, allocations: 0 / 438.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4186, allocations: 7.328 kB / 438.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.4192, allocations: 0.6288 MB / 439.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4192, allocations: 0 / 439.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.4194, allocations: 50.92 kB / 439.2 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/0.4225, allocations: 0.9118 MB / 440.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.4226, allocations: 17.41 kB / 440.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.4243, allocations: 1.402 MB / 441.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4243, allocations: 0.5625 kB / 441.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.426, allocations: 1.202 MB / 442.7 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.4263, allocations: 205.1 kB / 442.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.4264, allocations: 24.75 kB / 442.9 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.4268, allocations: 84.55 kB / 443 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.427, allocations: 48.03 kB / 443.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.4271, allocations: 19.25 kB / 443.1 MB, free: 33.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.4273, allocations: 223.9 kB / 443.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4273, allocations: 0 / 443.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005289/0.4279, allocations: 149.8 kB / 443.4 MB, free: 33.48 MB / 350.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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002604/0.4281, allocations: 146.7 kB / 443.6 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.4299, allocations: 0.9328 MB / 444.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4299, allocations: 0 / 444.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.4311, allocations: 0.6808 MB / 445.2 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.4315, allocations: 40.72 kB / 445.2 MB, free: 32.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.4332, allocations: 0.9905 MB / 446.2 MB, free: 31.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.4335, allocations: 0.8017 MB / 447 MB, free: 31.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.4336, allocations: 36.22 kB / 447.1 MB, free: 31.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.234e-06/0.4336, allocations: 4 kB / 447.1 MB, free: 31.27 MB / 350.1 MB Notification: Performance of Templates: time 0.01007/0.4437, allocations: 7.249 MB / 454.3 MB, free: 30.64 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.WithVariableLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoadCalcHelperMain.o] Error 1