Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00636/0.00636, allocations: 169.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008194, allocations: 78.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06371/0.06371, allocations: 12.6 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4201/0.4201, allocations: 78.53 MB / 460 MB, free: 3.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004912, allocations: 17.31 kB / 0.5285 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1347, allocations: 69.33 MB / 0.5962 GB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4387/0.5734, allocations: 105.6 MB / 0.6993 GB, free: 37.51 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5737, allocations: 76.98 kB / 0.6994 GB, free: 37.51 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.094/0.6678, allocations: 38.38 MB / 0.7368 GB, free: 32.58 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6678, allocations: 3.906 kB / 0.7368 GB, free: 32.58 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.025e-05/0.6679, allocations: 19.56 kB / 0.7369 GB, free: 32.58 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.005379/0.6733, allocations: 2.155 MB / 0.739 GB, free: 31.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.6733, allocations: 11.52 kB / 0.739 GB, free: 31.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.6754, allocations: 407.8 kB / 0.7394 GB, free: 31.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.6768, allocations: 0.8753 MB / 0.7402 GB, free: 30.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.677, allocations: 229.5 kB / 0.7404 GB, free: 30.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.6771, allocations: 75.41 kB / 0.7405 GB, free: 30.49 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.679, allocations: 1.025 MB / 0.7415 GB, free: 30.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.6791, allocations: 0 / 0.7415 GB, free: 30.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.6791, allocations: 31.75 kB / 0.7415 GB, free: 30.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.6792, allocations: 15.72 kB / 0.7416 GB, free: 30.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.6813, allocations: 1.169 MB / 0.7427 GB, free: 30.02 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004903/0.6862, allocations: 3.573 MB / 0.7462 GB, free: 28.15 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.6888, allocations: 1.754 MB / 0.7479 GB, free: 27.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.008e-05/0.6889, allocations: 20.33 kB / 0.7479 GB, free: 27.33 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.6889, allocations: 42.66 kB / 0.748 GB, free: 27.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=103): time 2.916e-06/0.6889, allocations: 3.938 kB / 0.748 GB, free: 27.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=103): time 0.02306/0.712, allocations: 7.059 MB / 0.7549 GB, free: 24.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.7121, allocations: 64.28 kB / 0.7549 GB, free: 24.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.7139, allocations: 1.054 MB / 0.756 GB, free: 24.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.7141, allocations: 44.11 kB / 0.756 GB, free: 24.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.7144, allocations: 0.5155 MB / 0.7565 GB, free: 24.37 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.7148, allocations: 359.2 kB / 0.7568 GB, free: 24.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.7149, allocations: 28.88 kB / 0.7569 GB, free: 24.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.715, allocations: 343.1 kB / 0.7572 GB, free: 23.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.7162, allocations: 0.6367 MB / 0.7578 GB, free: 23.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.7174, allocations: 0.7341 MB / 0.7585 GB, free: 23.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.7187, allocations: 0.6694 MB / 0.7592 GB, free: 23.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7187, allocations: 3.938 kB / 0.7592 GB, free: 23.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004216/0.7229, allocations: 2.19 MB / 0.7613 GB, free: 22.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.723, allocations: 6.062 kB / 0.7613 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.723, allocations: 7.219 kB / 0.7613 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008189/0.7312, allocations: 2.523 MB / 0.7638 GB, free: 22.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.7318, allocations: 153 kB / 0.764 GB, free: 22.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00441/0.7362, allocations: 2.461 MB / 0.7664 GB, free: 21.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.7379, allocations: 180 kB / 0.7665 GB, free: 21.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/0.738, allocations: 39.3 kB / 0.7666 GB, free: 21.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0004988/0.7385, allocations: 229.5 kB / 0.7668 GB, free: 21.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.7387, allocations: 136.8 kB / 0.7669 GB, free: 21.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009978/0.7487, allocations: 4.003 MB / 0.7708 GB, free: 19.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.7487, allocations: 7.719 kB / 0.7708 GB, free: 19.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.7487, allocations: 0 / 0.7708 GB, free: 19.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/0.7488, allocations: 11.8 kB / 0.7708 GB, free: 19.96 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.7614, allocations: 5.69 MB / 0.7764 GB, free: 16.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.7615, allocations: 4 kB / 0.7764 GB, free: 16.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009249/0.7624, allocations: 138.7 kB / 0.7765 GB, free: 16.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005015/0.7674, allocations: 1.665 MB / 0.7782 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/0.7677, allocations: 30.42 kB / 0.7782 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/0.7847, allocations: 8.199 MB / 0.7862 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7847, allocations: 7.938 kB / 0.7862 GB, free: 8.871 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.797, allocations: 4.949 MB / 0.791 GB, free: 4.836 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/0.7977, allocations: 255.5 kB / 0.7913 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.7979, allocations: 18.5 kB / 0.7913 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.7992, allocations: 131.1 kB / 0.7914 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004916/0.7997, allocations: 182.2 kB / 0.7916 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.142e-05/0.7998, allocations: 30.19 kB / 0.7916 GB, free: 4.301 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.8008, allocations: 0.8321 MB / 0.7924 GB, free: 3.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8008, allocations: 0 / 0.7924 GB, free: 3.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009534/0.8018, allocations: 399.6 kB / 0.7928 GB, free: 3.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * 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 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002903/0.802, allocations: 167 kB / 0.793 GB, free: 2.914 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005431/0.8075, allocations: 2.043 MB / 0.795 GB, free: 0.875 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8075, allocations: 3.938 kB / 0.795 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003854/0.8114, allocations: 1.495 MB / 0.7964 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009018/0.8123, allocations: 112.7 kB / 0.7966 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/0.8174, allocations: 3.143 MB / 0.7996 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.8181, allocations: 1.136 MB / 0.8007 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005575/0.8187, allocations: 103.2 kB / 0.8008 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.819, allocations: 75.42 kB / 0.8009 GB, free: 10.74 MB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/0.819, allocations: 0 / 0.8009 GB, free: 10.74 MB / 490.7 MB Notification: Performance of Templates: time 0.03161/0.8506, allocations: 19.71 MB / 0.8201 GB, free: 7.082 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.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=OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system -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 OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.o OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.c In file included from OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system_functions.h:153:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.o] Error 1