Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 219.2 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06907/0.06907, allocations: 14.39 MB / 300.5 MB, free: 7.246 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00312/0.00312, allocations: 75.89 kB / 423.8 MB, free: 36.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08311, allocations: 52.89 MB / 476.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00213/0.08524, allocations: 0.7087 MB / 477.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.08542, allocations: 27.91 kB / 477.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.08545, allocations: 0 / 477.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.08548, allocations: 4 kB / 477.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.08553, allocations: 0 / 477.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.08569, allocations: 7.938 kB / 477.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.0858, allocations: 19.98 kB / 477.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.08589, allocations: 8 kB / 477.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.87e-05/0.08592, allocations: 7.969 kB / 477.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.08598, allocations: 11.94 kB / 477.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.086, allocations: 0 / 477.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.08601, allocations: 8 kB / 477.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.08602, allocations: 0 / 477.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.08606, allocations: 7.938 kB / 477.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.248e-05/0.08615, allocations: 19.91 kB / 477.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.08616, allocations: 0 / 477.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.08616, allocations: 0 / 477.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.08616, allocations: 0 / 477.5 MB, free: 14.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003479/0.08651, allocations: 272.1 kB / 477.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.08656, allocations: 8.031 kB / 477.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.308e-05/0.08657, allocations: 192 / 477.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.0866, allocations: 34.75 kB / 477.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.08663, allocations: 8.938 kB / 477.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.77e-05/0.08672, allocations: 106.5 kB / 477.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.08673, allocations: 4.375 kB / 477.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.08674, allocations: 384 / 477.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.08689, allocations: 75.69 kB / 478 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.0869, allocations: 0 / 478 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.08691, allocations: 0 / 478 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.08692, allocations: 8 kB / 478 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.08697, allocations: 33.7 kB / 478 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.08743, allocations: 223.9 kB / 478.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.08752, allocations: 56.31 kB / 478.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.08757, allocations: 42.62 kB / 478.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.08758, allocations: 0 / 478.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.0876, allocations: 30.56 kB / 478.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.08761, allocations: 0 / 478.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002755/0.08788, allocations: 146.7 kB / 478.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.08794, allocations: 81.11 kB / 478.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.301e-05/0.08798, allocations: 89.86 kB / 478.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.088, allocations: 25.7 kB / 478.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.08804, allocations: 88.22 kB / 478.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.08806, allocations: 7.953 kB / 478.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.0881, allocations: 13.72 kB / 478.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.08824, allocations: 318.8 kB / 479.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.009e-05/0.08828, allocations: 33.7 kB / 479.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.08831, allocations: 33.7 kB / 479.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.0884, allocations: 80.25 kB / 479.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.0884, allocations: 7.875 kB / 479.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001289/0.08853, allocations: 109 kB / 479.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.08857, allocations: 33.8 kB / 479.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.08857, allocations: 0 / 479.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.08859, allocations: 0 / 479.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.08863, allocations: 4 kB / 479.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.08864, allocations: 3.938 kB / 479.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.08869, allocations: 3.984 kB / 479.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.08871, allocations: 4 kB / 479.4 MB, free: 12.67 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.08881, allocations: 143.5 kB / 479.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.08884, allocations: 0 / 479.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.08886, allocations: 7.109 kB / 479.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.08886, allocations: 7.984 kB / 479.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.08887, allocations: 0 / 479.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.08887, allocations: 0 / 479.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.08903, allocations: 128.7 kB / 479.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.08903, allocations: 0 / 479.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.08904, allocations: 4 kB / 479.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.08905, allocations: 0 / 479.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.08906, allocations: 4 kB / 479.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.08906, allocations: 0 / 479.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.08906, allocations: 0 / 479.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.08927, allocations: 210.8 kB / 479.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.08929, allocations: 15.97 kB / 479.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.0893, allocations: 0 / 479.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.08937, allocations: 4 kB / 479.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.08941, allocations: 7.984 kB / 479.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.08942, allocations: 0 / 479.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.76e-05/0.08946, allocations: 75.28 kB / 480 MB, free: 11.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08946, allocations: 0 / 480 MB, free: 11.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.08967, allocations: 8 kB / 480 MB, free: 11.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004898/0.09016, allocations: 0.7392 MB / 480.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.09033, allocations: 138.8 kB / 480.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.09034, allocations: 4 kB / 480.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.09041, allocations: 89.11 kB / 481 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.09061, allocations: 0 / 481 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.09102, allocations: 160.3 kB / 481.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.09108, allocations: 55.36 kB / 481.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.065e-05/0.09109, allocations: 0 / 481.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.09112, allocations: 11.44 kB / 481.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.09112, allocations: 128 / 481.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.1119, allocations: 1.529 MB / 482.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.38, allocations: 15.64 kB / 482.8 MB, free: 9.133 MB / 350.1 MB " [Timeout remaining time 648] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE_fmu --startTime=0 --stopTime=2 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.03532228700351] Failed to read output from testmodel.py, exit status != 0: 11.532617571065202 11.547840982 11.458554196 Calling exit ...