Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.001024/0.001024, allocations: 99.08 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.001148/0.001148, allocations: 177.3 kB / 15.94 MB, free: 220 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.702/1.702, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05872/0.05872, allocations: 14.17 MB / 284.5 MB, free: 7.133 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.0004962/0.0004962, allocations: 12 kB / 346.2 MB, free: 19.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.111, allocations: 51.11 MB / 397.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.003677/0.1147, allocations: 3.462 MB / 400.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.1179, allocations: 2.208 MB / 403 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.1181, allocations: 4 kB / 403 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.1185, allocations: 187 kB / 403.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.1206, allocations: 0.9376 MB / 404.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.1211, allocations: 199.4 kB / 404.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.1222, allocations: 0.6628 MB / 405 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.1224, allocations: 53.06 kB / 405 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.1228, allocations: 263 kB / 405.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.1232, allocations: 251.1 kB / 405.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.1232, allocations: 12 kB / 405.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005356/0.1238, allocations: 211.7 kB / 405.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.1238, allocations: 59.69 kB / 405.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.124, allocations: 113.5 kB / 405.9 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007362/0.1247, allocations: 0.5146 MB / 406.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1247, allocations: 0 / 406.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.37e-06/0.1248, allocations: 0 / 406.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1248, allocations: 3.938 kB / 406.5 MB, free: 7.5 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002457/0.1272, allocations: 0.8575 MB / 407.3 MB, free: 6.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.642e-05/0.1273, allocations: 12.02 kB / 407.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.1274, allocations: 78.53 kB / 407.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.1277, allocations: 71.41 kB / 407.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.1285, allocations: 395.5 kB / 407.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.1285, allocations: 24.95 kB / 407.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.1286, allocations: 36 kB / 407.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.1292, allocations: 342.3 kB / 408.2 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1293, allocations: 7.984 kB / 408.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.1293, allocations: 15.98 kB / 408.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1293, allocations: 8 kB / 408.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005148/0.1299, allocations: 306.5 kB / 408.6 MB, free: 5.25 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.1322, allocations: 2.14 MB / 410.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009611/0.1331, allocations: 0.5364 MB / 411.3 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1332, allocations: 4 kB / 411.3 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1332, allocations: 35.19 kB / 411.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.403e-06/0.1332, allocations: 4 kB / 411.3 MB, free: 2.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.002073/0.1353, allocations: 0.7322 MB / 412 MB, free: 1.422 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1354, allocations: 59.36 kB / 412.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.1357, allocations: 304.5 kB / 412.4 MB, free: 1.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.1357, allocations: 33.7 kB / 412.4 MB, free: 1.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.1358, allocations: 196.3 kB / 412.6 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.462e-05/0.1359, allocations: 130.1 kB / 412.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.136, allocations: 8 kB / 412.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1361, allocations: 346.8 kB / 413.1 MB, free: 340 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1363, allocations: 80.62 kB / 413.2 MB, free: 260 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1364, allocations: 119.2 kB / 413.3 MB, free: 136 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1366, allocations: 115.9 kB / 413.4 MB, free: 20 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1366, allocations: 1.094 kB / 413.4 MB, free: 20 kB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009264/0.1376, allocations: 446.3 kB / 413.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1376, allocations: 4 kB / 413.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1376, allocations: 0 / 413.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000703/0.1383, allocations: 164.8 kB / 414 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.1386, allocations: 75.89 kB / 414.1 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.1416, allocations: 2.082 MB / 416.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.1418, allocations: 31.75 kB / 416.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.1418, allocations: 8 kB / 416.2 MB, free: 13.08 MB / 318.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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.142, allocations: 157.8 kB / 416.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.1421, allocations: 39.58 kB / 416.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009993/0.1431, allocations: 465.6 kB / 416.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1431, allocations: 4 kB / 416.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1431, allocations: 0 / 416.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1431, allocations: 3.984 kB / 416.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.1448, allocations: 1.061 MB / 417.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1448, allocations: 4 kB / 417.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.145, allocations: 55.97 kB / 418 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006088/0.1456, allocations: 160.6 kB / 418.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.1457, allocations: 12 kB / 418.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.1482, allocations: 2.054 MB / 420.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1482, allocations: 0 / 420.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/0.1492, allocations: 0.5187 MB / 420.7 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1494, allocations: 140.6 kB / 420.8 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.1494, allocations: 4 kB / 420.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.1496, allocations: 19.83 kB / 420.9 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.1497, allocations: 32.02 kB / 420.9 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.1498, allocations: 12 kB / 420.9 MB, free: 8.082 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.15, allocations: 211.1 kB / 421.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.15, allocations: 0 / 421.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.1506, allocations: 144 kB / 421.3 MB, free: 7.734 MB / 318.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001352/0.1519, allocations: 1.115 MB / 422.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008618/0.1528, allocations: 458 kB / 422.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1528, allocations: 64 / 422.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006106/0.1534, allocations: 358.3 kB / 423.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1538, allocations: 53.2 kB / 423.2 MB, free: 5.711 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.1571, allocations: 2.136 MB / 425.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1576, allocations: 0.8194 MB / 426.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.1577, allocations: 42.95 kB / 426.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.1579, allocations: 115.4 kB / 426.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1579, allocations: 0 / 426.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2071/0.365, allocations: 8.914 MB / 435.2 MB, free: 35.67 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.3653, allocations: 199.7 kB / 435.4 MB, free: 35.44 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.32, allocations: 0 / 435.4 MB, free: 35.44 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) Environment - environmentSimulation: