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.001718/0.001718, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002141/0.002141, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.417/1.417, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.06787/0.06787, allocations: 14.39 MB / 300.5 MB, free: 7.426 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.002193/0.002193, allocations: 68.28 kB / 423.8 MB, free: 36.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09402, allocations: 52.91 MB / 476.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002065/0.09608, allocations: 0.7049 MB / 477.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00017/0.09625, allocations: 35.83 kB / 477.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.09629, allocations: 4 kB / 477.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.09631, allocations: 0 / 477.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.09636, allocations: 0 / 477.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.09649, allocations: 0 / 477.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.248e-05/0.09658, allocations: 19.98 kB / 477.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.09667, allocations: 4 kB / 477.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.593e-05/0.09669, allocations: 7.984 kB / 477.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.09675, allocations: 7.938 kB / 477.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.09676, allocations: 4 kB / 477.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-06/0.09677, allocations: 4 kB / 477.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.09678, allocations: 4 kB / 477.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.09682, allocations: 11.94 kB / 477.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.853e-05/0.0969, allocations: 19.95 kB / 477.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.0969, allocations: 0 / 477.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.0969, allocations: 0 / 477.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.09691, allocations: 0 / 477.5 MB, free: 15.07 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.0003328/0.09724, allocations: 272.1 kB / 477.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.09728, allocations: 8.031 kB / 477.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.0973, allocations: 4.188 kB / 477.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.09733, allocations: 34.75 kB / 477.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.09736, allocations: 4.938 kB / 477.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.606e-05/0.09744, allocations: 102.5 kB / 477.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.09744, allocations: 384 / 477.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.09745, allocations: 8.312 kB / 477.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.09756, allocations: 53.88 kB / 478 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.09757, allocations: 3.984 kB / 478 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.09758, allocations: 0 / 478 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.09759, allocations: 3.984 kB / 478 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.09763, allocations: 20 kB / 478 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.09805, allocations: 212 kB / 478.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.09811, allocations: 30.61 kB / 478.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.09815, allocations: 16.86 kB / 478.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.09816, allocations: 0 / 478.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.09819, allocations: 34.56 kB / 478.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.09819, allocations: 0 / 478.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002238/0.09841, allocations: 87.39 kB / 478.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.09849, allocations: 81.09 kB / 478.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.443e-05/0.09853, allocations: 89.86 kB / 478.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.09855, allocations: 29.7 kB / 478.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.0986, allocations: 84.09 kB / 478.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.09862, allocations: 3.953 kB / 478.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.09866, allocations: 21.84 kB / 478.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.09881, allocations: 310.8 kB / 479 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.09883, allocations: 11.98 kB / 479 MB, free: 13.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.09885, allocations: 7.938 kB / 479 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.214e-05/0.09893, allocations: 76.27 kB / 479.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.09894, allocations: 3.938 kB / 479.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001044/0.09904, allocations: 79.39 kB / 479.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.09907, allocations: 33.8 kB / 479.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.09908, allocations: 0 / 479.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.09909, allocations: 0 / 479.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.363e-05/0.09913, allocations: 7.984 kB / 479.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.09914, allocations: 0 / 479.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.09918, allocations: 0 / 479.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.09919, allocations: 4 kB / 479.2 MB, free: 13.13 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.0001102/0.0993, allocations: 147.4 kB / 479.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.09932, allocations: 0 / 479.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.09934, allocations: 15.09 kB / 479.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.09934, allocations: 0 / 479.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.09934, allocations: 0 / 479.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.09935, allocations: 3.938 kB / 479.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.09949, allocations: 128.7 kB / 479.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.0995, allocations: 0 / 479.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.09951, allocations: 4 kB / 479.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.09951, allocations: 0 / 479.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.09952, allocations: 3.938 kB / 479.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.09952, allocations: 0 / 479.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.09952, allocations: 0 / 479.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.09968, allocations: 185.2 kB / 479.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.09969, allocations: 7.922 kB / 479.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.09971, allocations: 4 kB / 479.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.09977, allocations: 0 / 479.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.09981, allocations: 4 kB / 479.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.09982, allocations: 7.938 kB / 479.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.09985, allocations: 79.31 kB / 479.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09985, allocations: 0 / 479.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1001, allocations: 7.984 kB / 479.8 MB, free: 12.46 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.0004948/0.1006, allocations: 0.7102 MB / 480.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.1007, allocations: 75.42 kB / 480.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1007, allocations: 4.062 kB / 480.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/0.1008, allocations: 67.34 kB / 480.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.101, allocations: 7.984 kB / 480.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.1013, allocations: 126.6 kB / 480.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1017, allocations: 0.669 MB / 481.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.668e-06/0.1017, allocations: 0 / 481.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.1017, allocations: 11.44 kB / 481.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1017, allocations: 0 / 481.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.1212, allocations: 1.47 MB / 482.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.15, allocations: 0 / 482.9 MB, free: 9.242 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.852065070008393] Failed to read output from testmodel.py, exit status != 0: 11.311977406963706 11.337505185 11.236264844 Calling exit ...