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.001097/0.001097, allocations: 91.92 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.001461/0.001461, 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.392/1.392, 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.05869/0.05869, allocations: 14.17 MB / 284.6 MB, free: 7.145 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.0004837/0.0004837, allocations: 12 kB / 348.3 MB, free: 17.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1132, allocations: 51.12 MB / 399.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.002171/0.1154, allocations: 1.582 MB / 401 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006332/0.1161, allocations: 323.8 kB / 401.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.615e-05/0.1162, allocations: 8 kB / 401.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.1164, allocations: 43.78 kB / 401.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.1165, allocations: 23.86 kB / 401.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.117, allocations: 183.4 kB / 401.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.1172, allocations: 127.6 kB / 401.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.1174, allocations: 78 kB / 401.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.1175, allocations: 27.81 kB / 401.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.905e-05/0.1176, allocations: 55.64 kB / 401.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1176, allocations: 4 kB / 401.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1177, allocations: 51.97 kB / 401.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.1178, allocations: 27.8 kB / 401.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.1178, allocations: 53.58 kB / 402 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.1181, allocations: 175.6 kB / 402.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1181, allocations: 0 / 402.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.71e-06/0.1181, allocations: 0 / 402.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1182, allocations: 3.938 kB / 402.1 MB, free: 11.82 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.00111/0.1193, allocations: 0.5376 MB / 402.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1193, allocations: 12.02 kB / 402.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/0.1194, allocations: 46.55 kB / 402.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.1194, allocations: 19.81 kB / 402.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1197, allocations: 226.8 kB / 403 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.1198, allocations: 12 kB / 403 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.1198, allocations: 19.95 kB / 403 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.1201, allocations: 186.3 kB / 403.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1202, allocations: 0 / 403.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1202, allocations: 4 kB / 403.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1202, allocations: 8 kB / 403.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.1205, allocations: 151.7 kB / 403.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.1214, allocations: 0.6598 MB / 404 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.1217, allocations: 142.5 kB / 404.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.1218, allocations: 80.78 kB / 404.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1218, allocations: 0 / 404.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1219, allocations: 34.56 kB / 404.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.1219, allocations: 4 kB / 404.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004854/0.1224, allocations: 253.5 kB / 404.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1224, allocations: 55.41 kB / 404.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1227, allocations: 219.2 kB / 404.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1227, allocations: 25.7 kB / 404.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.1228, allocations: 124 kB / 404.9 MB, free: 8.812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.1229, allocations: 55.2 kB / 405 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.1229, allocations: 0 / 405 MB, free: 8.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.123, allocations: 334.8 kB / 405.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1231, allocations: 67.92 kB / 405.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.717e-05/0.1232, allocations: 63.98 kB / 405.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1234, allocations: 75.36 kB / 405.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1234, allocations: 0 / 405.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002863/0.1237, allocations: 193.5 kB / 405.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1237, allocations: 11.94 kB / 405.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1237, allocations: 0 / 405.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1237, allocations: 0 / 405.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1238, allocations: 12 kB / 405.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1238, allocations: 0 / 405.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.1239, allocations: 23.77 kB / 405.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1239, allocations: 11.94 kB / 405.8 MB, free: 7.969 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.0001178/0.1241, allocations: 130.9 kB / 405.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.1241, allocations: 27.7 kB / 405.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.1242, allocations: 25.52 kB / 405.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1242, allocations: 0 / 405.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1242, allocations: 0 / 405.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1242, allocations: 4 kB / 405.9 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.1245, allocations: 313.4 kB / 406.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1246, allocations: 4 kB / 406.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1247, allocations: 12 kB / 406.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1247, allocations: 0 / 406.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1247, allocations: 3.984 kB / 406.3 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1247, allocations: 4 kB / 406.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1247, allocations: 0 / 406.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.1252, allocations: 399 kB / 406.7 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.1253, allocations: 100.8 kB / 406.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1253, allocations: 12.06 kB / 406.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.1254, allocations: 0 / 406.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.1255, allocations: 7.984 kB / 406.8 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1255, allocations: 8 kB / 406.8 MB, free: 6.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1256, allocations: 156.6 kB / 406.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1256, allocations: 0 / 406.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1259, allocations: 28 kB / 407 MB, free: 6.66 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.0008228/0.1267, allocations: 0.9383 MB / 407.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.127, allocations: 164 kB / 408.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.127, allocations: 0 / 408.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1272, allocations: 79.92 kB / 408.1 MB, free: 5.461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1275, allocations: 32.58 kB / 408.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1294, allocations: 1.174 MB / 409.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1297, allocations: 0.7284 MB / 410.1 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.1298, allocations: 9.422 kB / 410.1 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.1299, allocations: 51.42 kB / 410.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1299, allocations: 0 / 410.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.1456, allocations: 3.891 MB / 414 MB, free: 15.59 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.1458, allocations: 198.7 kB / 414.2 MB, free: 15.34 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/1.927, allocations: 0 / 414.2 MB, free: 15.34 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: