Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",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.001063/0.001063, allocations: 99.86 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.001276/0.001276, 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.613/1.613, 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.05937/0.05937, allocations: 14.16 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.0005104/0.0005105, allocations: 20.2 kB / 346.2 MB, free: 19.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1085, allocations: 51.12 MB / 397.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.00383/0.1123, allocations: 3.576 MB / 400.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.1159, allocations: 2.235 MB / 403.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.1161, allocations: 7.938 kB / 403.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.1167, allocations: 191 kB / 403.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.1188, allocations: 0.9418 MB / 404.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1193, allocations: 207.4 kB / 404.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.1203, allocations: 0.6785 MB / 405.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.1205, allocations: 73.86 kB / 405.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.1208, allocations: 271 kB / 405.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.1211, allocations: 247 kB / 405.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.1212, allocations: 12 kB / 405.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004668/0.1216, allocations: 219.7 kB / 406 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.1217, allocations: 51.7 kB / 406 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.302e-05/0.1218, allocations: 121.5 kB / 406.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.1224, allocations: 0.5418 MB / 406.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1224, allocations: 0 / 406.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1224, allocations: 0 / 406.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1224, allocations: 0 / 406.7 MB, free: 7.262 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002149/0.1246, allocations: 0.9003 MB / 407.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1246, allocations: 12.02 kB / 407.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.028e-05/0.1247, allocations: 74.53 kB / 407.7 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.125, allocations: 79.31 kB / 407.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.1257, allocations: 403.4 kB / 408.1 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.1257, allocations: 32.95 kB / 408.2 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.1258, allocations: 32 kB / 408.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.1264, allocations: 375.1 kB / 408.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1264, allocations: 0 / 408.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.1264, allocations: 20 kB / 408.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1265, allocations: 8 kB / 408.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.127, allocations: 355.7 kB / 408.9 MB, free: 4.883 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.002095/0.1291, allocations: 2.2 MB / 411.1 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.1301, allocations: 0.5569 MB / 411.7 MB, free: 1.785 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.1301, allocations: 7.984 kB / 411.7 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1302, allocations: 42.56 kB / 411.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.583e-06/0.1302, allocations: 0 / 411.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.002219/0.1324, allocations: 0.8041 MB / 412.6 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.1325, allocations: 55.41 kB / 412.6 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.1328, allocations: 317.6 kB / 412.9 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1328, allocations: 37.64 kB / 413 MB, free: 476 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.133, allocations: 204.7 kB / 413.2 MB, free: 264 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.1331, allocations: 138 kB / 413.3 MB, free: 124 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.1331, allocations: 4 kB / 413.3 MB, free: 120 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1333, allocations: 346.8 kB / 413.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1335, allocations: 104 kB / 413.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.1337, allocations: 142.8 kB / 413.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.1339, allocations: 120.5 kB / 414 MB, free: 15.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1339, allocations: 3.984 kB / 414 MB, free: 15.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009877/0.1349, allocations: 485.2 kB / 414.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.135, allocations: 8.031 kB / 414.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.135, allocations: 0 / 414.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007165/0.1357, allocations: 160.7 kB / 414.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.136, allocations: 75.89 kB / 414.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.139, allocations: 2.078 MB / 416.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.1394, allocations: 35.73 kB / 416.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.1394, allocations: 12 kB / 416.8 MB, free: 12.43 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 (31): * Single equations (assignments): 30 * 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.0002247/0.1396, allocations: 165.7 kB / 417 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.1397, allocations: 43.53 kB / 417 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.1409, allocations: 0.5184 MB / 417.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.141, allocations: 4 kB / 417.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.141, allocations: 3.953 kB / 417.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.141, allocations: 3.984 kB / 417.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.1428, allocations: 1.142 MB / 418.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1429, allocations: 3.938 kB / 418.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.1432, allocations: 71.89 kB / 418.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006567/0.1438, allocations: 156.7 kB / 418.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.1439, allocations: 8 kB / 418.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.1465, allocations: 2.039 MB / 421 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1466, allocations: 0 / 421 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1477, allocations: 0.5893 MB / 421.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.1479, allocations: 144.6 kB / 421.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.1479, allocations: 8 kB / 421.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.1482, allocations: 31.8 kB / 421.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.1483, allocations: 27.95 kB / 421.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1483, allocations: 12 kB / 421.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002285/0.1485, allocations: 227.2 kB / 422 MB, free: 6.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1485, allocations: 0 / 422 MB, free: 6.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005656/0.1491, allocations: 143.9 kB / 422.2 MB, free: 6.82 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 (32): * Single equations (assignments): 31 * 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 Backend phase and start with SimCode phase: time 0.001492/0.1506, allocations: 1.177 MB / 423.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.1517, allocations: 0.4907 MB / 423.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1517, allocations: 0 / 423.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006554/0.1523, allocations: 378.5 kB / 424.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1527, allocations: 53.27 kB / 424.2 MB, free: 4.676 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.00367/0.1564, allocations: 2.359 MB / 426.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.1569, allocations: 0.8323 MB / 427.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.1571, allocations: 47.23 kB / 427.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.1572, allocations: 135.4 kB / 427.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1572, allocations: 0 / 427.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2311/0.3884, allocations: 9.43 MB / 437 MB, free: 28.54 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.3886, allocations: 223.9 kB / 437.3 MB, free: 28.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.393, allocations: 0 / 437.3 MB, free: 28.3 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) Environment - environmentSimulation: