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: translateModel(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE") translateModel(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009526/0.0009525, allocations: 99.55 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.001013/0.001013, allocations: 177.3 kB / 15.94 MB, free: 228 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.452/1.452, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06308/0.06308, allocations: 14.15 MB / 284.5 MB, free: 7.137 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.0005689/0.0005692, allocations: 12 kB / 348.1 MB, free: 17.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09464, allocations: 51.12 MB / 399.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.001964/0.09664, allocations: 1.595 MB / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006483/0.09731, allocations: 319.8 kB / 401.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.09744, allocations: 8 kB / 401.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.09763, allocations: 39.73 kB / 401.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.09778, allocations: 23.91 kB / 401.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.09822, allocations: 187.3 kB / 401.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.09845, allocations: 87.84 kB / 401.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.09861, allocations: 70.03 kB / 401.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.806e-05/0.09867, allocations: 43.72 kB / 401.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.09875, allocations: 43.72 kB / 401.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.09878, allocations: 4 kB / 401.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.09889, allocations: 39.97 kB / 401.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.09892, allocations: 27.86 kB / 401.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.09896, allocations: 45.64 kB / 401.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.09919, allocations: 183.5 kB / 401.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.0992, allocations: 0 / 401.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.09921, allocations: 0 / 401.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.09922, allocations: 7.938 kB / 402 MB, free: 12.02 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.001093/0.1003, allocations: 0.5259 MB / 402.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1004, allocations: 12.03 kB / 402.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.1004, allocations: 15.81 kB / 402.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1007, allocations: 219.8 kB / 402.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1007, allocations: 16 kB / 402.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.1007, allocations: 12 kB / 402.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.101, allocations: 190.2 kB / 402.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1011, allocations: 0 / 402.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1011, allocations: 11.98 kB / 402.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1011, allocations: 4 kB / 402.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.1014, allocations: 163.6 kB / 403.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009079/0.1023, allocations: 0.656 MB / 403.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1026, allocations: 138.5 kB / 403.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1026, allocations: 4.109 kB / 403.9 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1027, allocations: 38.48 kB / 403.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.1027, allocations: 0 / 403.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005896/0.1033, allocations: 0.5644 MB / 404.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1033, allocations: 59.41 kB / 404.6 MB, free: 9.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1035, allocations: 219.2 kB / 404.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1035, allocations: 33.64 kB / 404.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.1036, allocations: 120 kB / 404.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.1037, allocations: 43.3 kB / 405 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.1037, allocations: 4 kB / 405 MB, free: 8.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1038, allocations: 338.8 kB / 405.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1039, allocations: 59.98 kB / 405.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.34e-05/0.104, allocations: 67.98 kB / 405.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1042, allocations: 71.38 kB / 405.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1042, allocations: 0 / 405.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00029/0.1045, allocations: 201.4 kB / 405.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1045, allocations: 7.984 kB / 405.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1045, allocations: 0 / 405.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1045, allocations: 0 / 405.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1046, allocations: 15.94 kB / 405.7 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1047, allocations: 3.938 kB / 405.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.1047, allocations: 15.78 kB / 405.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1047, allocations: 8 kB / 405.7 MB, free: 7.93 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.0001069/0.1049, allocations: 133.8 kB / 405.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.1049, allocations: 23.7 kB / 405.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.105, allocations: 21.47 kB / 405.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.105, allocations: 8 kB / 405.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.105, allocations: 0 / 405.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.105, allocations: 3.984 kB / 405.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.1054, allocations: 317.4 kB / 406.2 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1054, allocations: 0 / 406.2 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1055, allocations: 12 kB / 406.3 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1055, allocations: 0 / 406.3 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1055, allocations: 7.984 kB / 406.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1055, allocations: 0 / 406.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1055, allocations: 0 / 406.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.106, allocations: 407 kB / 406.7 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.1061, allocations: 88.95 kB / 406.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1061, allocations: 4 kB / 406.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.1062, allocations: 4.062 kB / 406.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.1063, allocations: 15.92 kB / 406.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1063, allocations: 8 kB / 406.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.1064, allocations: 164.6 kB / 406.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1064, allocations: 0 / 406.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1067, allocations: 27.94 kB / 407 MB, free: 6.609 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.0001575/0.1068, allocations: 115 kB / 407.1 MB, free: 6.488 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.1071, allocations: 152 kB / 407.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1071, allocations: 0 / 407.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1073, allocations: 87.91 kB / 407.3 MB, free: 6.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1076, allocations: 16.67 kB / 407.3 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.1082, allocations: 404 kB / 407.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1085, allocations: 0.7361 MB / 408.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.794e-05/0.1086, allocations: 9.422 kB / 408.5 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.1086, allocations: 15.44 kB / 408.5 MB, free: 5.039 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1086, allocations: 0 / 408.5 MB, free: 5.039 MB / 302.1 MB Notification: Performance of Templates: time 0.004458/0.1131, allocations: 1.857 MB / 410.3 MB, free: 3.18 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.makefile Environment - environmentSimulation: (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 & ./PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) Environment - environmentSimulation: