Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007857/0.007858, allocations: 173.2 kB / 15.12 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.462/1.462, allocations: 223.2 MB / 239 MB, free: 36 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 102.2 kB / 290.2 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5654/0.5654, allocations: 78.52 MB / 419.8 MB, free: 36.33 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004197, allocations: 16 kB / 499.8 MB, free: 6.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.175, allocations: 69.36 MB / 0.5558 GB, free: 1.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4877/0.6628, allocations: 116.9 MB / 0.6699 GB, free: 1.516 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.6632, allocations: 91.89 kB / 0.67 GB, free: 1.465 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.131/0.7942, allocations: 48.9 MB / 0.7178 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7942, allocations: 0 / 0.7178 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001244/0.7944, allocations: 32 kB / 0.7178 GB, free: 0.6172 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.008987/0.8034, allocations: 2.838 MB / 0.7206 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.8034, allocations: 8.031 kB / 0.7206 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007331/0.8042, allocations: 197.8 kB / 0.7208 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/0.8076, allocations: 0.6062 MB / 0.7214 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.8108, allocations: 1.197 MB / 0.7225 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006257/0.8114, allocations: 0.5624 MB / 0.7231 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003679/0.8118, allocations: 135.9 kB / 0.7232 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.8156, allocations: 1.794 MB / 0.725 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.8156, allocations: 0 / 0.725 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.8158, allocations: 60 kB / 0.725 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.8158, allocations: 28 kB / 0.7251 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003663/0.8195, allocations: 1.7 MB / 0.7267 GB, free: 7.23 MB / 0.5105 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.01192/0.8315, allocations: 5.916 MB / 0.7325 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009779/0.8413, allocations: 3.899 MB / 0.7363 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007942/0.8421, allocations: 0.7375 MB / 0.737 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003072/0.8452, allocations: 1.311 MB / 0.7383 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=156): time 3.667e-06/0.8452, allocations: 0 / 0.7383 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156): time 0.0526/0.8978, allocations: 14.6 MB / 0.7526 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.898, allocations: 175.5 kB / 0.7527 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.9007, allocations: 1.372 MB / 0.7541 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003652/0.9011, allocations: 53.7 kB / 0.7541 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005577/0.9016, allocations: 0.7272 MB / 0.7548 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006471/0.9023, allocations: 0.5391 MB / 0.7553 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.9024, allocations: 36 kB / 0.7554 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9026, allocations: 361.9 kB / 0.7557 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.9047, allocations: 1.011 MB / 0.7567 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.9069, allocations: 1.183 MB / 0.7579 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.9092, allocations: 1.101 MB / 0.7589 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.9092, allocations: 0 / 0.7589 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.00747/0.9167, allocations: 3.562 MB / 0.7624 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005293/0.9172, allocations: 1.4 MB / 0.7638 GB, free: 428 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.9172, allocations: 4 kB / 0.7638 GB, free: 424 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/0.9287, allocations: 3.849 MB / 0.7676 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009193/0.9297, allocations: 170 kB / 0.7677 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009468/0.9391, allocations: 4.143 MB / 0.7718 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.9419, allocations: 298.5 kB / 0.772 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/0.9421, allocations: 63.91 kB / 0.7721 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.9421, allocations: 4 kB / 0.7721 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007036/0.9492, allocations: 3.406 MB / 0.7754 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.9492, allocations: 4 kB / 0.7754 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/0.9605, allocations: 3.83 MB / 0.7792 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009063/0.9614, allocations: 163.8 kB / 0.7793 GB, free: 444 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00838/0.9698, allocations: 4.019 MB / 0.7833 GB, free: 12.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.9723, allocations: 290.6 kB / 0.7835 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.9725, allocations: 59.97 kB / 0.7836 GB, free: 12.03 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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 {35 69} Notification: Performance of prepare postOptimizeDAE: time 0.001061/0.9736, allocations: 438.6 kB / 0.784 GB, free: 11.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/0.9741, allocations: 193.7 kB / 0.7842 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/0.9927, allocations: 6.628 MB / 0.7907 GB, free: 4.738 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/0.9928, allocations: 16 kB / 0.7907 GB, free: 4.723 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.9929, allocations: 0 / 0.7907 GB, free: 4.723 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-05/0.9929, allocations: 7.969 kB / 0.7907 GB, free: 4.715 MB / 0.573 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.3076/1.3, allocations: 9.226 MB / 0.7997 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/1.301, allocations: 1.938 kB / 0.7997 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.302, allocations: 139.8 kB / 0.7998 GB, free: 138.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009819/1.312, allocations: 2.933 MB / 0.8027 GB, free: 138.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004534/1.312, allocations: 40.67 kB / 0.8027 GB, free: 138.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02876/1.341, allocations: 12.08 MB / 0.8145 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.341, allocations: 5.594 kB / 0.8145 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02257/1.363, allocations: 8.195 MB / 0.8225 GB, free: 136.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007985/1.364, allocations: 310.6 kB / 0.8228 GB, free: 136.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004852/1.365, allocations: 35.34 kB / 0.8229 GB, free: 136.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.367, allocations: 215.7 kB / 0.8231 GB, free: 136.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.368, allocations: 282.1 kB / 0.8233 GB, free: 136.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.368, allocations: 51.78 kB / 0.8234 GB, free: 136.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001733/1.37, allocations: 1.065 MB / 0.8244 GB, free: 136.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.51e-07/1.37, allocations: 0 / 0.8244 GB, free: 136.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002793/1.373, allocations: 0.9051 MB / 0.8253 GB, free: 136 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSAC2A.imLeadLag.TF.x_scaled[1],eSAC2A.imSimpleLag.state,eSAC2A.simpleLagLim.state,eSAC2A.derivative.x,eSAC2A.rotatingExciterWithDemagnetization.sISO.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 5 (eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising) * 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): 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 23,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02288/1.395, allocations: 9.05 MB / 0.8342 GB, free: 134.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01769/1.413, allocations: 5.823 MB / 0.8398 GB, free: 134.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.413, allocations: 1.156 kB / 0.8398 GB, free: 134.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007537/1.421, allocations: 2.516 MB / 0.8423 GB, free: 133.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.422, allocations: 148.6 kB / 0.8424 GB, free: 133.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008568/1.431, allocations: 7.225 MB / 0.8495 GB, free: 128.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000862/1.432, allocations: 1.381 MB / 0.8509 GB, free: 127.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008011/1.433, allocations: 154.4 kB / 0.851 GB, free: 127.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008759/1.433, allocations: 0.7105 MB / 0.8517 GB, free: 126.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.162e-06/1.433, allocations: 0 / 0.8517 GB, free: 126.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08168/1.515, allocations: 53.66 MB / 0.9041 GB, free: 109.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/1.515, allocations: 186.8 kB / 0.9043 GB, free: 109.5 MB / 0.573 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A_functions.h:161: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); ^ 2 warnings and 1 error generated. make: *** [: OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A.o] Error 1