Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0046/0.0046, allocations: 171.3 kB / 15.11 MB, free: 5.969 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.179/1.179, allocations: 223.2 MB / 239 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.0008454/0.0008454, allocations: 104.1 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4031/0.4031, allocations: 79.43 MB / 420.8 MB, free: 43.66 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003298, allocations: 12 kB / 0.489 GB, free: 2.012 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3021, allocations: 69.5 MB / 0.5569 GB, free: 39.09 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4198, allocations: 107.6 MB / 0.662 GB, free: 13.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4201, allocations: 84.73 kB / 0.6621 GB, free: 13.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09027/0.5103, allocations: 36.54 MB / 0.6978 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5104, allocations: 0 / 0.6978 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001133/0.5105, allocations: 35.98 kB / 0.6978 GB, free: 9.055 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00479/0.5153, allocations: 2.096 MB / 0.6999 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.5153, allocations: 8.031 kB / 0.6999 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.5177, allocations: 0.4896 MB / 0.7004 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.5199, allocations: 1.103 MB / 0.7014 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.5202, allocations: 204.8 kB / 0.7016 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.5205, allocations: 104 kB / 0.7017 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.523, allocations: 1.373 MB / 0.7031 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5231, allocations: 4 kB / 0.7031 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.5232, allocations: 40 kB / 0.7031 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.5232, allocations: 27.94 kB / 0.7031 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.5258, allocations: 1.257 MB / 0.7044 GB, free: 2.145 MB / 0.4948 GB 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.008156/0.534, allocations: 5.307 MB / 0.7096 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008014/0.542, allocations: 3.026 MB / 0.7125 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.187e-05/0.5421, allocations: 16.98 kB / 0.7125 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.5436, allocations: 0.7944 MB / 0.7133 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 2.826e-06/0.5436, allocations: 0 / 0.7133 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=101): time 0.009922/0.5535, allocations: 3.51 MB / 0.7167 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.5536, allocations: 278 kB / 0.717 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.5554, allocations: 1.225 MB / 0.7182 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.5555, allocations: 45.7 kB / 0.7182 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.556, allocations: 0.6661 MB / 0.7189 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.5563, allocations: 366.8 kB / 0.7192 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.5564, allocations: 24 kB / 0.7193 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5565, allocations: 353.9 kB / 0.7196 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.5578, allocations: 0.6272 MB / 0.7202 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.5593, allocations: 0.8596 MB / 0.721 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.5606, allocations: 0.6848 MB / 0.7217 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5607, allocations: 3.953 kB / 0.7217 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007581/0.5682, allocations: 3.183 MB / 0.7248 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004845/0.5687, allocations: 1.521 MB / 0.7263 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5688, allocations: 4 kB / 0.7263 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005593/0.5744, allocations: 1.818 MB / 0.7281 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/0.5749, allocations: 143.8 kB / 0.7282 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.5808, allocations: 4.794 MB / 0.7329 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.5822, allocations: 222.8 kB / 0.7331 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/0.5823, allocations: 40 kB / 0.7332 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.5823, allocations: 4 kB / 0.7332 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005935/0.5882, allocations: 2.512 MB / 0.7356 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5883, allocations: 7.984 kB / 0.7356 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004802/0.5931, allocations: 1.545 MB / 0.7371 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.5936, allocations: 143.8 kB / 0.7373 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006897/0.6005, allocations: 7.814 MB / 0.7449 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.6018, allocations: 171.1 kB / 0.7451 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/0.6019, allocations: 40 kB / 0.7451 GB, free: 6.953 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0006635/0.6026, allocations: 384.9 kB / 0.7455 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.6029, allocations: 150.1 kB / 0.7456 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005402/0.6083, allocations: 2.186 MB / 0.7478 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.6083, allocations: 15.94 kB / 0.7478 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6083, allocations: 0 / 0.7478 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.6083, allocations: 3.984 kB / 0.7478 GB, free: 4.199 MB / 0.5417 GB 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.007387/0.6157, allocations: 4.01 MB / 0.7517 GB, free: 84 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6158, allocations: 0 / 0.7517 GB, free: 84 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009121/0.6167, allocations: 204 kB / 0.7519 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/0.6189, allocations: 0.6477 MB / 0.7525 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.744e-05/0.619, allocations: 32.31 kB / 0.7525 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006954/0.6259, allocations: 3.746 MB / 0.7562 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.626, allocations: 0 / 0.7562 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006891/0.6329, allocations: 3.022 MB / 0.7592 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.6333, allocations: 270.8 kB / 0.7594 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.6335, allocations: 20 kB / 0.7594 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.6347, allocations: 135.9 kB / 0.7596 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.635, allocations: 132.7 kB / 0.7597 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.635, allocations: 27.95 kB / 0.7597 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001305/0.6363, allocations: 0.9467 MB / 0.7606 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6363, allocations: 0 / 0.7606 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001584/0.6379, allocations: 0.6237 MB / 0.7612 GB, free: 6.102 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003034/0.6382, allocations: 175 kB / 0.7614 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007786/0.646, allocations: 3.635 MB / 0.765 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.6461, allocations: 0 / 0.765 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.6481, allocations: 1.072 MB / 0.766 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.649, allocations: 168.6 kB / 0.7662 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2219/0.871, allocations: 3.334 MB / 0.7694 GB, free: 139.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007695/0.8717, allocations: 1.235 MB / 0.7706 GB, free: 138.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008432/0.8726, allocations: 138.1 kB / 0.7708 GB, free: 138.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.8729, allocations: 82.69 kB / 0.7708 GB, free: 138.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.343e-06/0.873, allocations: 0 / 0.7708 GB, free: 138.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.0336/0.9066, allocations: 24.59 MB / 0.7949 GB, free: 137.8 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Mostar -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.o OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.c In file included from OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar_model.h:24: ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar_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_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.o] Error 1