Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007732/0.0007732, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000848/0.000848, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05931/0.05931, allocations: 14.16 MB / 284.6 MB, free: 7.125 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005193, allocations: 16 kB / 348.3 MB, free: 17.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09691, allocations: 51.13 MB / 399.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.002387/0.09934, allocations: 1.737 MB / 401.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.1003, allocations: 403.4 kB / 401.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.1005, allocations: 8 kB / 401.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1007, allocations: 39.73 kB / 401.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.1009, allocations: 51.66 kB / 401.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.1015, allocations: 199.5 kB / 401.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.1019, allocations: 195.5 kB / 402 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.1021, allocations: 116.2 kB / 402.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.1022, allocations: 51.67 kB / 402.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1023, allocations: 87.42 kB / 402.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.1023, allocations: 8 kB / 402.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1025, allocations: 51.97 kB / 402.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.1025, allocations: 31.8 kB / 402.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.1026, allocations: 65.58 kB / 402.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.1029, allocations: 295.3 kB / 402.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1029, allocations: 0 / 402.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.103, allocations: 0 / 402.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.103, allocations: 0 / 402.7 MB, free: 11.25 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001857/0.1048, allocations: 0.729 MB / 403.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1049, allocations: 12.02 kB / 403.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.105, allocations: 62.53 kB / 403.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.1051, allocations: 31.62 kB / 403.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1053, allocations: 206.6 kB / 403.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.1053, allocations: 16.56 kB / 403.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.1054, allocations: 27.95 kB / 403.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.106, allocations: 364.8 kB / 404.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.106, allocations: 0 / 404.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.1061, allocations: 12 kB / 404.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1061, allocations: 15.98 kB / 404.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005905/0.1067, allocations: 386.1 kB / 404.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.1082, allocations: 1.1 MB / 405.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.1086, allocations: 250.8 kB / 405.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.1089, allocations: 181 kB / 406.1 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1089, allocations: 4.188 kB / 406.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1089, allocations: 34.75 kB / 406.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.1089, allocations: 0 / 406.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.0009196/0.1099, allocations: 0.5589 MB / 406.7 MB, free: 7.113 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1099, allocations: 55.58 kB / 406.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.1102, allocations: 258.6 kB / 407 MB, free: 6.785 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.1102, allocations: 29.7 kB / 407 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1103, allocations: 152.4 kB / 407.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.1104, allocations: 102.5 kB / 407.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.1105, allocations: 8 kB / 407.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1106, allocations: 338.8 kB / 407.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.1108, allocations: 156 kB / 407.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.1111, allocations: 186.7 kB / 407.9 MB, free: 5.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.1114, allocations: 176 kB / 408.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1114, allocations: 0 / 408.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006244/0.112, allocations: 425 kB / 408.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.112, allocations: 4 kB / 408.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1121, allocations: 0 / 408.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1121, allocations: 7.984 kB / 408.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.1123, allocations: 31.97 kB / 408.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1123, allocations: 7.984 kB / 408.6 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1124, allocations: 23.69 kB / 408.6 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.1125, allocations: 19.94 kB / 408.6 MB, free: 5.117 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.1126, allocations: 145.8 kB / 408.7 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.1127, allocations: 27.67 kB / 408.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/0.1128, allocations: 38.95 kB / 408.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.1128, allocations: 3.984 kB / 408.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1128, allocations: 4.062 kB / 408.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1128, allocations: 4 kB / 408.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.1134, allocations: 0.5088 MB / 409.3 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1134, allocations: 0 / 409.3 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.1136, allocations: 31.98 kB / 409.4 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1136, allocations: 0 / 409.4 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.1136, allocations: 15.94 kB / 409.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1136, allocations: 0 / 409.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1136, allocations: 3.938 kB / 409.4 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.1143, allocations: 0.5009 MB / 409.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.1144, allocations: 112.6 kB / 410 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1144, allocations: 0 / 410 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1145, allocations: 11.95 kB / 410 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.1146, allocations: 19.97 kB / 410 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.1146, allocations: 12 kB / 410 MB, free: 3.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.1148, allocations: 190 kB / 410.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1148, allocations: 0 / 410.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.1151, allocations: 44 kB / 410.3 MB, free: 3.363 MB / 302.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 (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009869/0.1161, allocations: 1.056 MB / 411.3 MB, free: 2.281 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000635/0.1168, allocations: 371.9 kB / 411.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1168, allocations: 7.938 kB / 411.7 MB, free: 1.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.1171, allocations: 191.9 kB / 411.9 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1174, allocations: 23.02 kB / 411.9 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.1202, allocations: 1.836 MB / 413.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.1206, allocations: 0.7593 MB / 414.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007248/0.1213, allocations: 0.4886 MB / 415 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.1215, allocations: 79.41 kB / 415.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1215, allocations: 7.938 kB / 415.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.139, allocations: 5.798 MB / 420.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.1393, allocations: 197.6 kB / 421.1 MB, free: 8.492 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/1.953, allocations: 0 / 421.1 MB, free: 8.492 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1) Environment - environmentSimulation: