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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 180.7 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 239.7 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009143, allocations: 103.9 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05391/0.05391, allocations: 8.102 MB / 350.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004806, allocations: 11.88 kB / 413.1 MB, free: 89.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 52.53 MB / 465.6 MB, free: 42.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.315/0.4403, allocations: 82.5 MB / 0.5353 GB, free: 16.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4405, allocations: 78.33 kB / 0.5353 GB, free: 16.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03011/0.4706, allocations: 12.19 MB / 0.5473 GB, free: 31.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4707, allocations: 0 / 0.5473 GB, free: 31.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.4707, allocations: 7.812 kB / 0.5473 GB, free: 31.36 MB / 378.7 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.002795/0.4735, allocations: 0.9644 MB / 0.5482 GB, free: 30.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4736, allocations: 8.328 kB / 0.5482 GB, free: 30.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.4737, allocations: 54.31 kB / 0.5483 GB, free: 30.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.4742, allocations: 355.3 kB / 0.5486 GB, free: 30.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.4742, allocations: 54.34 kB / 0.5487 GB, free: 30.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.4743, allocations: 34.47 kB / 0.5487 GB, free: 30.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008141/0.4751, allocations: 489.9 kB / 0.5492 GB, free: 30.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4751, allocations: 0 / 0.5492 GB, free: 30.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.4752, allocations: 18.39 kB / 0.5492 GB, free: 30.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4752, allocations: 7.75 kB / 0.5492 GB, free: 30.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.476, allocations: 478.1 kB / 0.5496 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.4789, allocations: 2.156 MB / 0.5517 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.4799, allocations: 0.5587 MB / 0.5523 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/0.48, allocations: 14.17 kB / 0.5523 GB, free: 29.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007903/0.4808, allocations: 0.5395 MB / 0.5528 GB, free: 29.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/0.4808, allocations: 0 / 0.5528 GB, free: 29.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.007075/0.4879, allocations: 2.063 MB / 0.5548 GB, free: 29.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.488, allocations: 193.4 kB / 0.555 GB, free: 28.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.4884, allocations: 294.8 kB / 0.5553 GB, free: 28.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/0.4884, allocations: 37.3 kB / 0.5553 GB, free: 28.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4885, allocations: 182.1 kB / 0.5555 GB, free: 28.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4887, allocations: 160.9 kB / 0.5557 GB, free: 28.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.4887, allocations: 7 kB / 0.5557 GB, free: 28.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4888, allocations: 352 kB / 0.556 GB, free: 28.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.4892, allocations: 259 kB / 0.5563 GB, free: 28.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.4897, allocations: 307.3 kB / 0.5566 GB, free: 28.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.4901, allocations: 314.2 kB / 0.5569 GB, free: 28.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4901, allocations: 0 / 0.5569 GB, free: 28.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001431/0.4916, allocations: 0.9202 MB / 0.5578 GB, free: 27.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.4916, allocations: 35.89 kB / 0.5578 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4916, allocations: 0 / 0.5578 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003965/0.4956, allocations: 0.8698 MB / 0.5586 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.4959, allocations: 62.16 kB / 0.5587 GB, free: 27.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.4975, allocations: 1.267 MB / 0.5599 GB, free: 27.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.4981, allocations: 85.42 kB / 0.56 GB, free: 27.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.4982, allocations: 19.39 kB / 0.56 GB, free: 27.26 MB / 378.7 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 (34): * Single equations (assignments): 33 * 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.000377/0.4985, allocations: 223.8 kB / 0.5602 GB, free: 27.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.4986, allocations: 47.45 kB / 0.5603 GB, free: 27.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.5013, allocations: 1.348 MB / 0.5616 GB, free: 26.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.5013, allocations: 8.547 kB / 0.5616 GB, free: 26.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5013, allocations: 128 / 0.5616 GB, free: 26.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5014, allocations: 9.562 kB / 0.5616 GB, free: 26.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.502, allocations: 0.6853 MB / 0.5623 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.502, allocations: 3.938 kB / 0.5623 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.5022, allocations: 51.52 kB / 0.5623 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003832/0.5061, allocations: 0.9161 MB / 0.5632 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.5062, allocations: 17.64 kB / 0.5633 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.5081, allocations: 1.393 MB / 0.5646 GB, free: 26.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5081, allocations: 0 / 0.5646 GB, free: 26.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.5106, allocations: 1.302 MB / 0.5659 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.5108, allocations: 204.9 kB / 0.5661 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.121e-05/0.5109, allocations: 32.94 kB / 0.5661 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.5115, allocations: 76.98 kB / 0.5662 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.5116, allocations: 47.22 kB / 0.5662 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/0.5117, allocations: 26.11 kB / 0.5663 GB, free: 25.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002837/0.512, allocations: 243.6 kB / 0.5665 GB, free: 25.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.512, allocations: 0 / 0.5665 GB, free: 25.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004809/0.5125, allocations: 138.6 kB / 0.5666 GB, free: 25.7 MB / 378.7 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.0002253/0.5127, allocations: 148.1 kB / 0.5668 GB, free: 25.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.5145, allocations: 0.877 MB / 0.5676 GB, free: 25.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5145, allocations: 0 / 0.5676 GB, free: 25.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.5158, allocations: 0.6725 MB / 0.5683 GB, free: 25.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.5161, allocations: 38.97 kB / 0.5683 GB, free: 25.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.5176, allocations: 0.9445 MB / 0.5692 GB, free: 24.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.5179, allocations: 0.813 MB / 0.57 GB, free: 24.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.5181, allocations: 46.53 kB / 0.5701 GB, free: 24.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.784e-05/0.5182, allocations: 32.97 kB / 0.5701 GB, free: 24.26 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5182, allocations: 0 / 0.5701 GB, free: 24.26 MB / 378.7 MB Notification: Performance of Templates: time 0.01313/0.5314, allocations: 9.062 MB / 0.579 GB, free: 20.79 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.o PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.c In file included from PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.c:7: In file included from ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad_model.h:24: ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad_functions.h:207:1: error: unknown type name 'PowerSysPro_Types_myComplexPerUnit'; did you mean 'PowerSysPro_Types_myComplexCurrent'? PowerSysPro_Types_myComplexPerUnit omc_PowerSysPro_Types_myComplexPerUnit (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PowerSysPro_Types_myComplexCurrent ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad_functions.h:78:17: note: 'PowerSysPro_Types_myComplexCurrent' declared here typedef Complex PowerSysPro_Types_myComplexCurrent; ^ 1 error generated. make: *** [: PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.o] Error 1