Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.004717/0.004717, allocations: 169.4 kB / 15.12 MB, free: 5.992 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.255/1.255, 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.0008031/0.0008031, allocations: 85.75 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4108/0.4108, allocations: 78.58 MB / 419.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 19.98 kB / 499.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2866, allocations: 69.35 MB / 0.5558 GB, free: 38.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3956, allocations: 107 MB / 0.6603 GB, free: 15.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3958, allocations: 79.95 kB / 0.6603 GB, free: 15.42 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09387/0.4897, allocations: 39.24 MB / 0.6987 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4897, allocations: 0 / 0.6987 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.864e-05/0.4898, allocations: 32 kB / 0.6987 GB, free: 7.953 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.004178/0.494, allocations: 2.092 MB / 0.7007 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.494, allocations: 8.031 kB / 0.7007 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009288/0.495, allocations: 281.5 kB / 0.701 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.4965, allocations: 1.033 MB / 0.702 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.4968, allocations: 204.8 kB / 0.7022 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.4969, allocations: 100 kB / 0.7023 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.4993, allocations: 1.369 MB / 0.7036 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.4993, allocations: 3.938 kB / 0.7036 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.4994, allocations: 47.98 kB / 0.7037 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.4995, allocations: 24 kB / 0.7037 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.5021, allocations: 1.253 MB / 0.7049 GB, free: 1.344 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.007125/0.5092, allocations: 5.178 MB / 0.71 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008202/0.5174, allocations: 3.023 MB / 0.7129 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.852e-05/0.5175, allocations: 20.97 kB / 0.713 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.5191, allocations: 0.7944 MB / 0.7137 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 4.067e-06/0.5191, allocations: 4 kB / 0.7137 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of matching and sorting (n=101): time 0.01045/0.5296, allocations: 3.51 MB / 0.7172 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.5297, allocations: 274 kB / 0.7174 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.5314, allocations: 1.146 MB / 0.7186 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.5315, allocations: 45.7 kB / 0.7186 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.532, allocations: 0.6661 MB / 0.7193 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.5323, allocations: 366.7 kB / 0.7196 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.5324, allocations: 24 kB / 0.7196 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5325, allocations: 362 kB / 0.72 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.5339, allocations: 0.6233 MB / 0.7206 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.5354, allocations: 0.8596 MB / 0.7214 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.5367, allocations: 0.6823 MB / 0.7221 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5368, allocations: 4 kB / 0.7221 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007829/0.5446, allocations: 3.187 MB / 0.7252 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005284/0.5451, allocations: 1.519 MB / 0.7267 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5452, allocations: 7.938 kB / 0.7267 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005741/0.5509, allocations: 1.81 MB / 0.7285 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.5515, allocations: 147.8 kB / 0.7286 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.5577, allocations: 4.794 MB / 0.7333 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.5591, allocations: 210.9 kB / 0.7335 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/0.5593, allocations: 47.98 kB / 0.7335 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.5593, allocations: 4 kB / 0.7335 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00629/0.5656, allocations: 2.504 MB / 0.736 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.5656, allocations: 8.031 kB / 0.736 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00495/0.5705, allocations: 1.548 MB / 0.7375 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.5711, allocations: 147.8 kB / 0.7376 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00722/0.5783, allocations: 7.811 MB / 0.7453 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.5798, allocations: 163.2 kB / 0.7454 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/0.5799, allocations: 47.98 kB / 0.7455 GB, free: 6.371 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.0007347/0.5807, allocations: 380.9 kB / 0.7458 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.5809, allocations: 154.1 kB / 0.746 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005653/0.5865, allocations: 2.186 MB / 0.7481 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.5866, allocations: 12 kB / 0.7481 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5866, allocations: 3.984 kB / 0.7481 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.5866, allocations: 3.984 kB / 0.7481 GB, free: 3.617 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.007576/0.5942, allocations: 3.971 MB / 0.752 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5942, allocations: 0 / 0.752 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009287/0.5951, allocations: 203.8 kB / 0.7522 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/0.5974, allocations: 0.6516 MB / 0.7528 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.061e-05/0.5975, allocations: 23.98 kB / 0.7529 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007226/0.6047, allocations: 3.743 MB / 0.7565 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6048, allocations: 0 / 0.7565 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007012/0.6118, allocations: 3.018 MB / 0.7595 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/0.6122, allocations: 255 kB / 0.7597 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.6124, allocations: 19.98 kB / 0.7597 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.6135, allocations: 139.9 kB / 0.7599 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.6138, allocations: 120.8 kB / 0.76 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.6139, allocations: 31.98 kB / 0.76 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001218/0.6151, allocations: 0.8841 MB / 0.7609 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6151, allocations: 0 / 0.7609 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00149/0.6166, allocations: 0.6274 MB / 0.7615 GB, free: 5.641 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.0002895/0.6169, allocations: 175.7 kB / 0.7617 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007655/0.6246, allocations: 3.619 MB / 0.7652 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6246, allocations: 7.938 kB / 0.7652 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.6267, allocations: 1.088 MB / 0.7663 GB, free: 0.6211 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000792/0.6275, allocations: 170 kB / 0.7664 GB, free: 468 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1963/0.8237, allocations: 3.313 MB / 0.7697 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.8245, allocations: 1.236 MB / 0.7709 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007732/0.8253, allocations: 142.5 kB / 0.771 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.8256, allocations: 85.45 kB / 0.7711 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.373e-06/0.8256, allocations: 3.969 kB / 0.7711 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.034/0.8596, allocations: 23.95 MB / 0.7945 GB, free: 137.3 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile make -j1 -f OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.o OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.c In file included from OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.RaPIdExperiments.Mostar_model.h:24: ./OpenIPSL_release_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_release_OpenIPSL.Examples.RaPIdExperiments.Mostar.o] Error 1