Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_symb_jac_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.0008778/0.0008776, allocations: 95.95 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 177.3 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06291/0.06291, allocations: 14.16 MB / 285.2 MB, free: 7.156 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.0005108/0.0005108, allocations: 20.2 kB / 346.9 MB, free: 19.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 51.11 MB / 398 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.004691/0.1264, allocations: 3.459 MB / 401.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004247/0.1307, allocations: 2.208 MB / 403.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.1311, allocations: 7.938 kB / 403.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.1317, allocations: 191 kB / 403.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.1342, allocations: 0.9343 MB / 404.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.1347, allocations: 199.5 kB / 405 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.1359, allocations: 0.6702 MB / 405.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.1361, allocations: 57.06 kB / 405.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.1364, allocations: 267 kB / 406 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.1367, allocations: 235.1 kB / 406.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.1368, allocations: 12 kB / 406.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.1373, allocations: 223.7 kB / 406.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.1373, allocations: 51.77 kB / 406.5 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1374, allocations: 117.5 kB / 406.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.138, allocations: 0.5107 MB / 407.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.138, allocations: 0 / 407.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.138, allocations: 0 / 407.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1381, allocations: 3.938 kB / 407.1 MB, free: 7.504 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.002212/0.1403, allocations: 0.8613 MB / 408 MB, free: 6.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.1403, allocations: 8.031 kB / 408 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.1404, allocations: 70.53 kB / 408 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/0.1408, allocations: 71.42 kB / 408.1 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008917/0.1417, allocations: 403.4 kB / 408.5 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.1417, allocations: 36.95 kB / 408.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.1418, allocations: 32 kB / 408.6 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.1424, allocations: 342.3 kB / 408.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1424, allocations: 0 / 408.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.1425, allocations: 12 kB / 408.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1425, allocations: 8 kB / 408.9 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.143, allocations: 310.4 kB / 409.2 MB, free: 5.254 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.00276/0.1458, allocations: 2.144 MB / 411.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.1468, allocations: 0.5325 MB / 411.9 MB, free: 2.238 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/0.1469, allocations: 7.984 kB / 411.9 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1469, allocations: 35.19 kB / 411.9 MB, free: 2.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.883e-06/0.1469, allocations: 0 / 411.9 MB, free: 2.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.002248/0.1492, allocations: 0.7361 MB / 412.7 MB, free: 1.422 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1493, allocations: 59.36 kB / 412.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.1496, allocations: 296.6 kB / 413 MB, free: 1.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1496, allocations: 33.64 kB / 413.1 MB, free: 1.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.1498, allocations: 200.3 kB / 413.3 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1499, allocations: 130.1 kB / 413.4 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.1499, allocations: 12 kB / 413.4 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1501, allocations: 342.8 kB / 413.7 MB, free: 344 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1502, allocations: 88.62 kB / 413.8 MB, free: 256 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.1504, allocations: 119.4 kB / 413.9 MB, free: 132 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1506, allocations: 103.9 kB / 414 MB, free: 28 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1506, allocations: 5.031 kB / 414 MB, free: 24 kB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000936/0.1515, allocations: 446.2 kB / 414.5 MB, free: 15.58 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1515, allocations: 4 kB / 414.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1515, allocations: 8.031 kB / 414.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000694/0.1522, allocations: 164.6 kB / 414.7 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.1526, allocations: 63.91 kB / 414.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.1556, allocations: 2.09 MB / 416.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.156, allocations: 19.75 kB / 416.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.156, allocations: 12 kB / 416.8 MB, free: 13.09 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.0002787/0.1563, allocations: 161.8 kB / 417 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.1564, allocations: 35.58 kB / 417 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.1575, allocations: 469.6 kB / 417.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1575, allocations: 4 kB / 417.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1575, allocations: 0 / 417.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.1575, allocations: 3.984 kB / 417.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.1593, allocations: 1.057 MB / 418.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.1593, allocations: 0 / 418.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.1596, allocations: 63.97 kB / 418.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006571/0.1602, allocations: 156.6 kB / 418.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.1603, allocations: 4 kB / 418.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.1629, allocations: 2.058 MB / 420.8 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1629, allocations: 4 kB / 420.8 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.1643, allocations: 1.243 MB / 422.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.1645, allocations: 136.7 kB / 422.2 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.1646, allocations: 11.98 kB / 422.2 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1648, allocations: 15.84 kB / 422.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1648, allocations: 31.66 kB / 422.3 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.1649, allocations: 12 kB / 422.3 MB, free: 7.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.1651, allocations: 219 kB / 422.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1651, allocations: 4 kB / 422.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006515/0.1658, allocations: 147.9 kB / 422.6 MB, free: 6.961 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.001361/0.1671, allocations: 1.092 MB / 423.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009074/0.1681, allocations: 458 kB / 424.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1681, allocations: 0 / 424.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006091/0.1687, allocations: 370 kB / 424.5 MB, free: 5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1691, allocations: 45.27 kB / 424.6 MB, free: 4.957 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.004269/0.1733, allocations: 2.39 MB / 427 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.1738, allocations: 0.8274 MB / 427.8 MB, free: 1.648 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000191/0.174, allocations: 46.92 kB / 427.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.1742, allocations: 123.4 kB / 428 MB, free: 1.484 MB / 318.1 MB Notification: Performance of SimCode: time 1.402e-06/0.1742, allocations: 0 / 428 MB, free: 1.484 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2278/0.4019, allocations: 8.918 MB / 436.9 MB, free: 34.97 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.4022, allocations: 222.5 kB / 437.1 MB, free: 34.72 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.378, allocations: 0 / 437.1 MB, free: 34.72 MB / 318.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) Environment - environmentSimulation: