Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.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.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE",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.001048/0.001048, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001034/0.001034, allocations: 177.3 kB / 15.95 MB, free: 216 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.438/1.438, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05747/0.05747, allocations: 14.16 MB / 284.5 MB, free: 7.148 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.0005225/0.0005225, allocations: 12 kB / 348.2 MB, free: 17.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.09283, allocations: 51.11 MB / 399.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.00199/0.09486, allocations: 1.587 MB / 400.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005632/0.09544, allocations: 327.8 kB / 401.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.09555, allocations: 7.938 kB / 401.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.09572, allocations: 35.8 kB / 401.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.09584, allocations: 23.91 kB / 401.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.09627, allocations: 194.5 kB / 401.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.09652, allocations: 87.84 kB / 401.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.09667, allocations: 66.03 kB / 401.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.09672, allocations: 43.72 kB / 401.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.09681, allocations: 43.72 kB / 401.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.09684, allocations: 4 kB / 401.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.09694, allocations: 39.97 kB / 401.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.09697, allocations: 27.86 kB / 401.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.09702, allocations: 49.58 kB / 401.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.09725, allocations: 179.6 kB / 402 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.09726, allocations: 0 / 402 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.09728, allocations: 4 kB / 402 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.09729, allocations: 3.938 kB / 402 MB, free: 11.93 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001055/0.09835, allocations: 0.5298 MB / 402.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.0984, allocations: 16.02 kB / 402.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.09847, allocations: 54.55 kB / 402.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.09851, allocations: 19.81 kB / 402.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.09876, allocations: 214.8 kB / 402.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.09878, allocations: 16 kB / 402.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.09882, allocations: 23.94 kB / 402.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.09916, allocations: 182.2 kB / 403.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.09918, allocations: 0 / 403.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.0992, allocations: 8 kB / 403.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.09922, allocations: 4 kB / 403.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.09946, allocations: 155.7 kB / 403.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/0.1004, allocations: 0.6637 MB / 403.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1006, allocations: 138.5 kB / 404.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1006, allocations: 4.047 kB / 404.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1006, allocations: 38.56 kB / 404.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.1007, allocations: 4 kB / 404.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005908/0.1012, allocations: 0.5683 MB / 404.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.1013, allocations: 51.41 kB / 404.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1015, allocations: 219.2 kB / 404.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1015, allocations: 25.7 kB / 405 MB, free: 8.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.1016, allocations: 120 kB / 405.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.1016, allocations: 55.2 kB / 405.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-06/0.1017, allocations: 0 / 405.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1018, allocations: 338.8 kB / 405.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1019, allocations: 63.98 kB / 405.5 MB, free: 8.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-05/0.102, allocations: 71.36 kB / 405.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1021, allocations: 71.94 kB / 405.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1021, allocations: 0 / 405.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002728/0.1024, allocations: 197.4 kB / 405.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1024, allocations: 4 kB / 405.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1025, allocations: 0 / 405.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.1025, allocations: 7.938 kB / 405.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1026, allocations: 11.94 kB / 405.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1026, allocations: 4 kB / 405.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.1027, allocations: 15.84 kB / 405.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1027, allocations: 4 kB / 405.9 MB, free: 7.77 MB / 302.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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001122/0.1028, allocations: 133.8 kB / 406 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.1029, allocations: 19.72 kB / 406.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.1029, allocations: 21.53 kB / 406.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1029, allocations: 7.984 kB / 406.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1029, allocations: 0 / 406.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.103, allocations: 0 / 406.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.1033, allocations: 321.4 kB / 406.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1033, allocations: 0 / 406.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.947e-05/0.1034, allocations: 11.94 kB / 406.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1034, allocations: 4 kB / 406.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1034, allocations: 7.984 kB / 406.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1035, allocations: 0 / 406.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1035, allocations: 3.984 kB / 406.4 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.104, allocations: 399.1 kB / 406.8 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.104, allocations: 97.02 kB / 406.9 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1041, allocations: 8 kB / 406.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.1042, allocations: 4 kB / 406.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1042, allocations: 11.92 kB / 406.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.1042, allocations: 0 / 406.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1044, allocations: 168.6 kB / 407.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1044, allocations: 0 / 407.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1046, allocations: 27.94 kB / 407.1 MB, free: 6.449 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalVoltageTransducer.firstOrder.y) * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000803/0.1054, allocations: 0.9419 MB / 408.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.1057, allocations: 163.8 kB / 408.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1058, allocations: 0 / 408.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.1059, allocations: 80.05 kB / 408.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1062, allocations: 28.52 kB / 408.3 MB, free: 5.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.1081, allocations: 1.164 MB / 409.5 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1084, allocations: 0.7361 MB / 410.2 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.1085, allocations: 13.42 kB / 410.2 MB, free: 3.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.543e-05/0.1086, allocations: 47.42 kB / 410.3 MB, free: 3.191 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1086, allocations: 0 / 410.3 MB, free: 3.191 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.1233, allocations: 3.878 MB / 414.2 MB, free: 15.4 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.1236, allocations: 189.6 kB / 414.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.863, allocations: 4 kB / 414.4 MB, free: 15.15 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTerminalVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) Environment - environmentSimulation: