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.001946/0.001946, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002213/0.002213, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.457/1.457, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.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.06699/0.06699, allocations: 14.4 MB / 296.8 MB, free: 1.883 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.003222/0.003222, allocations: 71.91 kB / 418.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2933, allocations: 52.87 MB / 471.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001975/0.2953, allocations: 0.7002 MB / 471.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000181/0.2955, allocations: 22.12 kB / 471.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.2955, allocations: 1.062 kB / 471.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.2955, allocations: 0 / 471.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.2956, allocations: 3.938 kB / 471.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.2957, allocations: 10.25 kB / 471.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.2958, allocations: 24.06 kB / 471.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.673e-05/0.2959, allocations: 5.969 kB / 471.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.2959, allocations: 11.61 kB / 471.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.296, allocations: 2 kB / 471.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.296, allocations: 1.781 kB / 471.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-06/0.296, allocations: 1.156 kB / 471.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.296, allocations: 5.25 kB / 471.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.296, allocations: 10.09 kB / 471.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.433e-05/0.2961, allocations: 16.53 kB / 472 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2961, allocations: 0 / 472 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2961, allocations: 0 / 472 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.2961, allocations: 0 / 472 MB, free: 12.13 MB / 334.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.0003925/0.2965, allocations: 351.8 kB / 472.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2966, allocations: 9.594 kB / 472.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.448e-05/0.2966, allocations: 192 / 472.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.2966, allocations: 32.16 kB / 472.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.2966, allocations: 2.031 kB / 472.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.2968, allocations: 161.5 kB / 472.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2968, allocations: 1.375 kB / 472.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.2968, allocations: 6.578 kB / 472.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.2969, allocations: 53.78 kB / 472.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-06/0.2969, allocations: 3.938 kB / 472.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2969, allocations: 5.094 kB / 472.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2969, allocations: 0 / 472.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.297, allocations: 5.656 kB / 472.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.2974, allocations: 259 kB / 472.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/0.2975, allocations: 27.56 kB / 472.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.2975, allocations: 19.03 kB / 472.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.2975, allocations: 0 / 472.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.2975, allocations: 39.81 kB / 472.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2975, allocations: 0 / 472.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000221/0.2977, allocations: 81.89 kB / 473 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.2978, allocations: 78.42 kB / 473.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.271e-05/0.2979, allocations: 89.86 kB / 473.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.2979, allocations: 30.89 kB / 473.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.2979, allocations: 88.09 kB / 473.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.2979, allocations: 5.391 kB / 473.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.298, allocations: 13.53 kB / 473.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2981, allocations: 320.1 kB / 473.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.2981, allocations: 11.19 kB / 473.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.2982, allocations: 13.41 kB / 473.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.335e-05/0.2982, allocations: 82.09 kB / 473.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2982, allocations: 3.938 kB / 473.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000114/0.2984, allocations: 78.64 kB / 473.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.2984, allocations: 32.11 kB / 473.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.2984, allocations: 0 / 473.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2984, allocations: 0 / 473.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.004e-05/0.2985, allocations: 2.156 kB / 473.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2985, allocations: 0 / 473.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.2985, allocations: 3.281 kB / 473.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2985, allocations: 1.062 kB / 473.8 MB, free: 10.11 MB / 334.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.0001001/0.2986, allocations: 147.3 kB / 474 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.2986, allocations: 1.312 kB / 474 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.758e-05/0.2987, allocations: 11.06 kB / 474 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2987, allocations: 0 / 474 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2987, allocations: 1.188 kB / 474 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2987, allocations: 0 / 474 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2988, allocations: 153 kB / 474.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2988, allocations: 0 / 474.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.2989, allocations: 6.109 kB / 474.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2989, allocations: 4 kB / 474.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2989, allocations: 5.031 kB / 474.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2989, allocations: 1.188 kB / 474.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2989, allocations: 0 / 474.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.299, allocations: 179 kB / 474.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.2991, allocations: 81.89 kB / 474.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2991, allocations: 1.312 kB / 474.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.2992, allocations: 5.312 kB / 474.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.2992, allocations: 10.64 kB / 474.4 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2992, allocations: 4 kB / 474.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.535e-05/0.2993, allocations: 76.78 kB / 474.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2993, allocations: 3.938 kB / 474.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.2995, allocations: 5.469 kB / 474.5 MB, free: 9.371 MB / 334.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.0005008/0.3, allocations: 0.7137 MB / 475.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.3001, allocations: 72.55 kB / 475.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3001, allocations: 1.344 kB / 475.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.217e-05/0.3002, allocations: 70.8 kB / 475.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.3004, allocations: 2.594 kB / 475.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.3008, allocations: 130.1 kB / 475.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3011, allocations: 0.6752 MB / 476.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.258e-05/0.3011, allocations: 1.188 kB / 476.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.3011, allocations: 12.66 kB / 476.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3011, allocations: 0 / 476.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.3172, allocations: 1.378 MB / 477.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/8.669, allocations: 19.09 kB / 477.6 MB, free: 6.652 MB / 334.1 MB " [Timeout remaining time 651] (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: 11.170211263000965] Failed to read output from testmodel.py, exit status != 0: 8.791882082994562 8.804808404 8.50585226 Calling exit ...