Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.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.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") translateModel(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 179.2 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.429/1.429, allocations: 223.2 MB / 239.7 MB, free: 1.773 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.0009665/0.0009665, allocations: 96.05 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04556/0.04556, allocations: 8.104 MB / 350.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 9 kB / 413.1 MB, free: 89.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/0.09592, allocations: 52.54 MB / 465.6 MB, free: 42.06 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3006/0.3966, allocations: 85.37 MB / 0.5381 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.3968, allocations: 71.42 kB / 0.5381 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06292/0.4597, allocations: 27.23 MB / 0.5647 GB, free: 29.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4597, allocations: 0 / 0.5647 GB, free: 29.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.389e-05/0.4598, allocations: 17.72 kB / 0.5648 GB, free: 29.42 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.005591/0.4654, allocations: 1.732 MB / 0.5664 GB, free: 28.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4655, allocations: 13.56 kB / 0.5665 GB, free: 28.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.4658, allocations: 113.9 kB / 0.5666 GB, free: 28.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000901/0.4667, allocations: 0.6026 MB / 0.5672 GB, free: 27.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/0.4668, allocations: 158.7 kB / 0.5673 GB, free: 27.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.4669, allocations: 64.45 kB / 0.5674 GB, free: 27.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.4688, allocations: 1.095 MB / 0.5684 GB, free: 27.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4689, allocations: 0 / 0.5684 GB, free: 27.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.469, allocations: 35.05 kB / 0.5685 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.469, allocations: 15.12 kB / 0.5685 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.4707, allocations: 0.9847 MB / 0.5695 GB, free: 27.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00571/0.4764, allocations: 4.353 MB / 0.5737 GB, free: 24.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.4783, allocations: 1.598 MB / 0.5753 GB, free: 24.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.4785, allocations: 111.7 kB / 0.5754 GB, free: 24.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.48, allocations: 1.006 MB / 0.5764 GB, free: 23.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 2.634e-06/0.48, allocations: 4 kB / 0.5764 GB, free: 23.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.01748/0.4975, allocations: 5.114 MB / 0.5813 GB, free: 22.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.4977, allocations: 263.3 kB / 0.5816 GB, free: 21.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007156/0.4984, allocations: 492.9 kB / 0.5821 GB, free: 21.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.4985, allocations: 54.64 kB / 0.5821 GB, free: 21.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.4987, allocations: 290.2 kB / 0.5824 GB, free: 21.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.499, allocations: 401.1 kB / 0.5828 GB, free: 21.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.4991, allocations: 21.34 kB / 0.5828 GB, free: 21.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4992, allocations: 397.5 kB / 0.5832 GB, free: 20.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/0.5, allocations: 0.5708 MB / 0.5837 GB, free: 20.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008693/0.5009, allocations: 0.6527 MB / 0.5844 GB, free: 20.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5019, allocations: 0.6344 MB / 0.585 GB, free: 20.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5019, allocations: 0 / 0.585 GB, free: 20.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005017/0.507, allocations: 2.278 MB / 0.5872 GB, free: 20.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.507, allocations: 35.11 kB / 0.5873 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.507, allocations: 3.906 kB / 0.5873 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008019/0.5151, allocations: 2.232 MB / 0.5894 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.5157, allocations: 124.8 kB / 0.5896 GB, free: 19.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.5192, allocations: 2.189 MB / 0.5917 GB, free: 18.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.5205, allocations: 124.1 kB / 0.5918 GB, free: 18.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/0.5206, allocations: 46.84 kB / 0.5919 GB, free: 18.34 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real HVMV.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.HVMV.tapChanger.tap,HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.furtherTapChangeTimeout,$PRE.varLoad1.degradedMode,varLoad1.degradedMode,$PRE.varLoad2.degradedMode,varLoad2.degradedMode,$PRE.varLoad3.degradedMode,varLoad3.degradedMode,$PRE.varLoad4.degradedMode,varLoad4.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {18 32} Notification: Performance of prepare postOptimizeDAE: time 0.0006447/0.5212, allocations: 279 kB / 0.5921 GB, free: 18.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.5214, allocations: 93.62 kB / 0.5922 GB, free: 18.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.525, allocations: 2.452 MB / 0.5946 GB, free: 16.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.525, allocations: 11.5 kB / 0.5946 GB, free: 16.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.525, allocations: 3.938 kB / 0.5946 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.5251, allocations: 3.984 kB / 0.5946 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006423/0.5315, allocations: 4.552 MB / 0.5991 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5315, allocations: 0 / 0.5991 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.532, allocations: 121 kB / 0.5992 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008316/0.5403, allocations: 2.049 MB / 0.6012 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/0.5406, allocations: 37.56 kB / 0.6012 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/0.5451, allocations: 2.319 MB / 0.6035 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5451, allocations: 3.875 kB / 0.6035 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/0.5496, allocations: 2.447 MB / 0.6059 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008601/0.5505, allocations: 361.4 kB / 0.6062 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.5508, allocations: 31.56 kB / 0.6063 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.5521, allocations: 133 kB / 0.6064 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.5524, allocations: 95.22 kB / 0.6065 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.5525, allocations: 54.47 kB / 0.6065 GB, free: 9.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006529/0.5532, allocations: 403.4 kB / 0.6069 GB, free: 8.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5532, allocations: 0 / 0.6069 GB, free: 8.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001108/0.5543, allocations: 317.4 kB / 0.6072 GB, free: 8.859 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: 18 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,HVMV.tapChanger.tap,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.furtherTapChangeTimeout,varLoad1.degradedMode,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode) * Number of discrete states: 14 (HVMV.tapChanger.tap,HVMV.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,HVMV.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.normalU,varLoad2.degradedMode,varLoad4.degradedMode,varLoad3.degradedMode,varLoad1.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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 {18 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/0.5555, allocations: 488.5 kB / 0.6077 GB, free: 8.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00462/0.5601, allocations: 1.879 MB / 0.6095 GB, free: 7.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.5601, allocations: 4.656 kB / 0.6095 GB, free: 7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003472/0.5636, allocations: 1.314 MB / 0.6108 GB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009389/0.5646, allocations: 100.4 kB / 0.6109 GB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.5688, allocations: 2.009 MB / 0.6129 GB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.5695, allocations: 0.9852 MB / 0.6138 GB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006076/0.5701, allocations: 118.1 kB / 0.6139 GB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.5704, allocations: 75.39 kB / 0.614 GB, free: 2.352 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5704, allocations: 0 / 0.614 GB, free: 2.352 MB / 378.7 MB Notification: Performance of Templates: time 0.03167/0.602, allocations: 19.14 MB / 0.6327 GB, free: 15.31 MB / 410.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_FourVariableLoadsThreeFeeders -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.FourVariableLoadsThreeFeeders.o PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.c In file included from PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.c:7: In file included from ./PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders_model.h:24: ./PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders_functions.h:295: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.FourVariableLoadsThreeFeeders_functions.h:78:17: note: 'PowerSysPro_Types_myComplexCurrent' declared here typedef Complex PowerSysPro_Types_myComplexCurrent; ^ 1 error generated. make: *** [: PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.o] Error 1