Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.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.Tutorial.Example_4.Experiments.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB") translateModel(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004691/0.004691, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.111/1.111, allocations: 223.2 MB / 239.1 MB, free: 1.797 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.0008322/0.0008322, allocations: 85.52 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.391/0.391, allocations: 79.43 MB / 420.8 MB, free: 43.68 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003004, allocations: 12 kB / 0.489 GB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2639, allocations: 69.5 MB / 0.5569 GB, free: 38.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.377, allocations: 120.5 MB / 0.6745 GB, free: 1.109 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.3773, allocations: 97.09 kB / 0.6746 GB, free: 1.016 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1508/0.5281, allocations: 63.21 MB / 0.7364 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5281, allocations: 0 / 0.7364 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001447/0.5283, allocations: 44 kB / 0.7364 GB, free: 1.332 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.007653/0.5359, allocations: 3.23 MB / 0.7396 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.536, allocations: 8.031 kB / 0.7396 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/0.5394, allocations: 0.7501 MB / 0.7403 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.5426, allocations: 1.725 MB / 0.742 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005449/0.5432, allocations: 0.5706 MB / 0.7425 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.5434, allocations: 151.9 kB / 0.7427 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.5472, allocations: 2.057 MB / 0.7447 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.5473, allocations: 3.984 kB / 0.7447 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.5474, allocations: 56 kB / 0.7448 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.5475, allocations: 36 kB / 0.7448 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004053/0.5515, allocations: 2.017 MB / 0.7468 GB, free: 6.445 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 preOpt removeSimpleEquations (simulation): time 0.01262/0.5641, allocations: 7.523 MB / 0.7541 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.5746, allocations: 4.342 MB / 0.7583 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.5748, allocations: 33.28 kB / 0.7584 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002689/0.5775, allocations: 1.432 MB / 0.7598 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=166): time 4.338e-06/0.5775, allocations: 3.984 kB / 0.7598 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of matching and sorting (n=166): time 0.2309/0.8084, allocations: 11.57 MB / 0.7711 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.8085, allocations: 179.5 kB / 0.7712 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/0.8122, allocations: 1.946 MB / 0.7731 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.8126, allocations: 56.61 kB / 0.7732 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/0.8132, allocations: 0.8952 MB / 0.7741 GB, free: 124 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006503/0.8139, allocations: 0.5842 MB / 0.7746 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.814, allocations: 39.72 kB / 0.7747 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.8141, allocations: 371.8 kB / 0.775 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/0.8164, allocations: 1.131 MB / 0.7761 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.8189, allocations: 1.333 MB / 0.7774 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.8211, allocations: 1.202 MB / 0.7786 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8211, allocations: 3.344 kB / 0.7786 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006805/0.8279, allocations: 3.691 MB / 0.7822 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.8281, allocations: 1.124 MB / 0.7833 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.8281, allocations: 2.688 kB / 0.7833 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008621/0.8367, allocations: 3.265 MB / 0.7865 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.8378, allocations: 269 kB / 0.7868 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006352/0.8442, allocations: 3.642 MB / 0.7903 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.8465, allocations: 357.8 kB / 0.7907 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.8466, allocations: 62.44 kB / 0.7907 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.8466, allocations: 3.375 kB / 0.7907 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005687/0.8523, allocations: 3.268 MB / 0.7939 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8523, allocations: 3.25 kB / 0.7939 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008426/0.8608, allocations: 3.099 MB / 0.797 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.8619, allocations: 269.3 kB / 0.7972 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.8679, allocations: 3.35 MB / 0.8005 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.8701, allocations: 323.5 kB / 0.8008 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.8702, allocations: 63.34 kB / 0.8008 GB, free: 120.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,genunit.iEEEG1_1.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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 {30 61} Notification: Performance of prepare postOptimizeDAE: time 0.0007796/0.871, allocations: 498.6 kB / 0.8013 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.8713, allocations: 227.7 kB / 0.8015 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/0.8868, allocations: 6.104 MB / 0.8075 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.8868, allocations: 16.69 kB / 0.8075 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8868, allocations: 4.797 kB / 0.8075 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.8868, allocations: 6.656 kB / 0.8075 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/0.9053, allocations: 9.139 MB / 0.8165 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.9053, allocations: 0 / 0.8165 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.9065, allocations: 246.9 kB / 0.8167 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006005/0.9125, allocations: 2.244 MB / 0.8189 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.9127, allocations: 39.47 kB / 0.8189 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02259/0.9353, allocations: 12.64 MB / 0.8313 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9353, allocations: 3.953 kB / 0.8313 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/0.9524, allocations: 7.674 MB / 0.8388 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/0.9529, allocations: 400.5 kB / 0.8391 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/0.9533, allocations: 34.41 kB / 0.8392 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/0.9552, allocations: 253.4 kB / 0.8394 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005512/0.9558, allocations: 277.9 kB / 0.8397 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.9559, allocations: 51.02 kB / 0.8397 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002158/0.9581, allocations: 1.506 MB / 0.8412 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9581, allocations: 4 kB / 0.8412 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001969/0.9601, allocations: 0.9567 MB / 0.8421 GB, free: 106.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 20 (infiniteBus.gENCLS.delta,infiniteBus.gENCLS.omega,infiniteBus.gENCLS.eq,genunit.gENROE.w,genunit.gENROE.delta,genunit.gENROE.Epd,genunit.gENROE.Epq,genunit.gENROE.PSIkd,genunit.gENROE.PSIkq,genunit.iEEEG1_1.imLeadLag.TF.x_scaled[1],genunit.iEEEG1_1.imSimpleLag.state,genunit.iEEEG1_1.imSimpleLag1.state,genunit.iEEEG1_1.imSimpleLag2.state,genunit.iEEEG1_1.imSimpleLag3.state,genunit.iEEEG1_1.limIntegrator.y,genunit.eSST1A1.imDerivativeLag.x,genunit.eSST1A1.imLeadLag.TF.x_scaled[1],genunit.eSST1A1.imLeadLag1.TF.x_scaled[1],genunit.eSST1A1.simpleLagLim.state,genunit.eSST1A1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 116 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,22 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003807/0.9605, allocations: 259.1 kB / 0.8424 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01223/0.9727, allocations: 5.379 MB / 0.8476 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9727, allocations: 0 / 0.8476 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004714/0.9774, allocations: 2.392 MB / 0.85 GB, free: 104 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/0.9783, allocations: 209.5 kB / 0.8502 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006176/0.9845, allocations: 5.154 MB / 0.8552 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/0.9852, allocations: 1.526 MB / 0.8567 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008335/0.9861, allocations: 230.3 kB / 0.8569 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/0.9865, allocations: 112.1 kB / 0.857 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of SimCode: time 2.8e-07/0.9865, allocations: 0 / 0.857 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.04041/1.027, allocations: 39.48 MB / 0.8956 GB, free: 73.68 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.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_Tutorial_Example_4_Experiments_SMIB -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.o OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.c In file included from OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB_model.h:24: ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB_functions.h:437: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.Tutorial.Example_4.Experiments.SMIB.o] Error 1