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.001138/0.001138, allocations: 109.1 kB / 16.62 MB, free: 6.805 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.001231/0.001231, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.319/1.319, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1684/0.1684, allocations: 38.03 MB / 329.4 MB, free: 9.051 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.7 kB / 398.4 MB, free: 34.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 58.06 MB / 456.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008945/0.1123, allocations: 8.097 MB / 464.6 MB, free: 220 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006171/0.1185, allocations: 4.829 MB / 469.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005585/0.1191, allocations: 19.94 kB / 469.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.1216, allocations: 1.035 MB / 470.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.1242, allocations: 1.188 MB / 471.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.1251, allocations: 335.2 kB / 472 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.1267, allocations: 1.469 MB / 473.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.1278, allocations: 0.7514 MB / 474.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009821/0.1288, allocations: 0.642 MB / 474.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.1298, allocations: 0.7594 MB / 475.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.1299, allocations: 68 kB / 475.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.1321, allocations: 1.434 MB / 477.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005415/0.1327, allocations: 494.8 kB / 477.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006587/0.1333, allocations: 461.8 kB / 478 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.1357, allocations: 1.632 MB / 479.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1358, allocations: 0 / 479.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1358, allocations: 4 kB / 479.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.1358, allocations: 0 / 479.6 MB, free: 1.07 MB / 350.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.001923/0.1377, allocations: 1.167 MB / 480.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1378, allocations: 11.89 kB / 480.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.138, allocations: 139.4 kB / 481 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.1413, allocations: 407.3 kB / 481.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/0.1422, allocations: 499.2 kB / 481.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.1422, allocations: 54.36 kB / 481.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.1424, allocations: 76.36 kB / 482 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.1444, allocations: 1.23 MB / 483.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.1444, allocations: 7.984 kB / 483.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.1445, allocations: 31.98 kB / 483.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-05/0.1446, allocations: 73.95 kB / 483.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.1465, allocations: 1.319 MB / 484.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005544/0.1521, allocations: 3.692 MB / 488.3 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.1539, allocations: 1.094 MB / 489.4 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008859/0.1548, allocations: 0.6469 MB / 490.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.266e-05/0.1549, allocations: 21.14 kB / 490.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.1549, allocations: 47.55 kB / 490.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.766e-06/0.1549, allocations: 0 / 490.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006582/0.1615, allocations: 3.141 MB / 493.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.1616, allocations: 98.23 kB / 493.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.162, allocations: 377.5 kB / 493.7 MB, free: 2.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.1621, allocations: 41.7 kB / 493.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.1622, allocations: 324.1 kB / 494.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.1625, allocations: 319.3 kB / 494.4 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.1627, allocations: 158.6 kB / 494.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1629, allocations: 366.8 kB / 494.9 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.1636, allocations: 469.7 kB / 495.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.1643, allocations: 0.5743 MB / 496 MB, free: 384 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.1659, allocations: 1.118 MB / 497.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1659, allocations: 0 / 497.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002454/0.1684, allocations: 1.485 MB / 498.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1684, allocations: 11.94 kB / 498.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1684, allocations: 0 / 498.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009793/0.1694, allocations: 348.8 kB / 498.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/0.1701, allocations: 183.7 kB / 499.1 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005118/0.1752, allocations: 4.16 MB / 0.4915 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/0.1758, allocations: 48.02 kB / 0.4915 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.1759, allocations: 47.91 kB / 0.4915 GB, free: 8.77 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.0004228/0.1764, allocations: 289.6 kB / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.1765, allocations: 55.34 kB / 0.4919 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.179, allocations: 1.559 MB / 0.4934 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.179, allocations: 11.98 kB / 0.4934 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.179, allocations: 8 kB / 0.4934 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.1791, allocations: 3.984 kB / 0.4934 GB, free: 6.828 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.004755/0.1838, allocations: 3.013 MB / 0.4964 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/0.1838, allocations: 0 / 0.4964 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/0.1845, allocations: 168.1 kB / 0.4965 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007835/0.1853, allocations: 289.4 kB / 0.4968 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.1853, allocations: 31.98 kB / 0.4968 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1976/0.383, allocations: 3.885 MB / 0.5006 GB, free: 55.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/0.383, allocations: 6.531 kB / 0.5006 GB, free: 55.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.3859, allocations: 1.579 MB / 0.5022 GB, free: 54.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.3862, allocations: 141.2 kB / 0.5023 GB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.3863, allocations: 22.06 kB / 0.5023 GB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.3868, allocations: 45.78 kB / 0.5024 GB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.3869, allocations: 82.2 kB / 0.5024 GB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.387, allocations: 38.64 kB / 0.5025 GB, free: 54.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002958/0.3873, allocations: 267.6 kB / 0.5027 GB, free: 54.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3873, allocations: 3.594 kB / 0.5027 GB, free: 54.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009485/0.3883, allocations: 310.4 kB / 0.503 GB, free: 54.57 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.002405/0.3907, allocations: 2.14 MB / 0.5051 GB, free: 53.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002604/0.3933, allocations: 1.661 MB / 0.5068 GB, free: 52.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3933, allocations: 2.719 kB / 0.5068 GB, free: 52.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.3944, allocations: 0.8409 MB / 0.5076 GB, free: 52.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.3951, allocations: 106.1 kB / 0.5077 GB, free: 52.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.4054, allocations: 8.061 MB / 0.5155 GB, free: 48.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.406, allocations: 1.085 MB / 0.5166 GB, free: 47.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.4065, allocations: 182.6 kB / 0.5168 GB, free: 47.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.4068, allocations: 270.1 kB / 0.517 GB, free: 47.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4068, allocations: 3.375 kB / 0.517 GB, free: 47.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.439, allocations: 16.32 MB / 0.533 GB, free: 37.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.4392, allocations: 232.6 kB / 0.5332 GB, free: 37.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.433, allocations: 0 / 0.5332 GB, free: 37.18 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches