Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",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.001598/0.001599, allocations: 108.5 kB / 16.51 MB, free: 6.707 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.001581/0.001581, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1666/0.1666, allocations: 38.04 MB / 329.3 MB, free: 9.074 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 58.36 kB / 398.2 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.105, allocations: 58.07 MB / 456.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01007/0.1151, allocations: 8.089 MB / 464.3 MB, free: 292 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006531/0.1217, allocations: 4.908 MB / 469.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000626/0.1224, allocations: 15.94 kB / 469.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.1249, allocations: 1.034 MB / 470.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.1278, allocations: 1.196 MB / 471.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009721/0.1288, allocations: 331.2 kB / 471.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.1314, allocations: 2.689 MB / 474.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.1325, allocations: 0.6692 MB / 475.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.1336, allocations: 0.5288 MB / 475.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.1348, allocations: 0.7594 MB / 476.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.1349, allocations: 56 kB / 476.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.1378, allocations: 1.734 MB / 478.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006242/0.1384, allocations: 486.8 kB / 478.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007497/0.1392, allocations: 429.9 kB / 479.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.1418, allocations: 1.616 MB / 480.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1419, allocations: 0 / 480.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1419, allocations: 0 / 480.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1419, allocations: 0 / 480.8 MB, free: 15.81 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001615/0.1435, allocations: 1.174 MB / 481.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1435, allocations: 8.031 kB / 481.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.1437, allocations: 131.4 kB / 482.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/0.1469, allocations: 411.3 kB / 482.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007305/0.1476, allocations: 495.3 kB / 483 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.1477, allocations: 54.36 kB / 483 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.1478, allocations: 76.36 kB / 483.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.1496, allocations: 1.234 MB / 484.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.1496, allocations: 0 / 484.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.1497, allocations: 31.98 kB / 484.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.1498, allocations: 77.95 kB / 484.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.1517, allocations: 1.312 MB / 485.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005304/0.157, allocations: 3.712 MB / 489.5 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.1587, allocations: 1.087 MB / 490.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000828/0.1596, allocations: 0.6409 MB / 491.2 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.1597, allocations: 17.12 kB / 491.2 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.1597, allocations: 43.56 kB / 491.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.334e-06/0.1597, allocations: 0 / 491.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006702/0.1664, allocations: 3.153 MB / 494.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.528e-05/0.1665, allocations: 86.11 kB / 494.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.1671, allocations: 377.5 kB / 494.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.1672, allocations: 49.64 kB / 494.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.1675, allocations: 328 kB / 495.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.1679, allocations: 315.4 kB / 495.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.1682, allocations: 158.6 kB / 495.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.1684, allocations: 370.8 kB / 496 MB, free: 180 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007441/0.1691, allocations: 469.7 kB / 496.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/0.1699, allocations: 0.5743 MB / 497.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.1714, allocations: 1.114 MB / 498.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.1714, allocations: 4 kB / 498.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002455/0.1739, allocations: 1.481 MB / 499.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1739, allocations: 10.03 kB / 499.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.1739, allocations: 7.984 kB / 499.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009355/0.1749, allocations: 340.7 kB / 0.4883 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.1756, allocations: 183.7 kB / 0.4885 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004675/0.1803, allocations: 3.848 MB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.1808, allocations: 51.84 kB / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.1809, allocations: 35.98 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.1813, allocations: 299.8 kB / 0.4926 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.1814, allocations: 59.33 kB / 0.4927 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.1839, allocations: 1.555 MB / 0.4942 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.184, allocations: 8 kB / 0.4942 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.184, allocations: 7.938 kB / 0.4942 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.184, allocations: 7.984 kB / 0.4942 GB, free: 5.887 MB / 382.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 postOpt removeSimpleEquations (simulation): time 0.00459/0.1886, allocations: 3.006 MB / 0.4971 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.1886, allocations: 12.03 kB / 0.4972 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.1892, allocations: 167.7 kB / 0.4973 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007536/0.19, allocations: 281.4 kB / 0.4976 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.19, allocations: 31.98 kB / 0.4976 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2006/0.3906, allocations: 3.58 MB / 0.5011 GB, free: 55.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.3906, allocations: 4.828 kB / 0.5011 GB, free: 55.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.393, allocations: 1.58 MB / 0.5027 GB, free: 54.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.3932, allocations: 143.4 kB / 0.5028 GB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.3933, allocations: 29.88 kB / 0.5028 GB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.3937, allocations: 37.72 kB / 0.5029 GB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.3938, allocations: 79 kB / 0.5029 GB, free: 54.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/0.3939, allocations: 41.5 kB / 0.503 GB, free: 54.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002629/0.3942, allocations: 269.4 kB / 0.5032 GB, free: 54.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3942, allocations: 0 / 0.5032 GB, free: 54.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008806/0.3951, allocations: 311.5 kB / 0.5035 GB, free: 54.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002348/0.3974, allocations: 2.137 MB / 0.5056 GB, free: 53.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.3994, allocations: 1.384 MB / 0.507 GB, free: 52.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/0.3994, allocations: 1.094 kB / 0.507 GB, free: 52.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.4006, allocations: 0.8379 MB / 0.5078 GB, free: 52.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006953/0.4013, allocations: 104.2 kB / 0.5079 GB, free: 52.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.4124, allocations: 8.069 MB / 0.5158 GB, free: 48.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/0.4131, allocations: 1.082 MB / 0.5168 GB, free: 47.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005324/0.4137, allocations: 190.4 kB / 0.517 GB, free: 47.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.4141, allocations: 269.3 kB / 0.5173 GB, free: 47.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4141, allocations: 0 / 0.5173 GB, free: 47.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.4472, allocations: 15.71 MB / 0.5326 GB, free: 37.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.4474, allocations: 232.8 kB / 0.5328 GB, free: 37.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.363, allocations: 0 / 0.5328 GB, free: 37.56 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches