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.0008654/0.0008653, allocations: 94.88 kB / 16.65 MB, free: 6.27 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.0009596/0.0009596, allocations: 180.4 kB / 17.57 MB, free: 5.883 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.219/1.219, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1611/0.1611, allocations: 38.1 MB / 330.8 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 8 kB / 400.8 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07782/0.0781, allocations: 59.18 MB / 460 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006082/0.08421, allocations: 7.625 MB / 467.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005157/0.08938, allocations: 4.834 MB / 472.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.08958, allocations: 15.94 kB / 472.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.08984, allocations: 139 kB / 472.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.09154, allocations: 1.196 MB / 473.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.09209, allocations: 331.2 kB / 474.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.09393, allocations: 2.686 MB / 476.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.09566, allocations: 1.224 MB / 478 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000518/0.09618, allocations: 0.4936 MB / 478.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007436/0.09694, allocations: 0.697 MB / 479.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.097, allocations: 39.94 kB / 479.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.099, allocations: 1.718 MB / 481 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.09936, allocations: 447 kB / 481.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.0997, allocations: 435.5 kB / 481.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.1011, allocations: 1.585 MB / 483.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1011, allocations: 0 / 483.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1011, allocations: 0 / 483.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1012, allocations: 0 / 483.4 MB, free: 15.45 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.001214/0.1024, allocations: 1.019 MB / 484.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1024, allocations: 8.031 kB / 484.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.1026, allocations: 135.4 kB / 484.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.1055, allocations: 423.3 kB / 485 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.1061, allocations: 495.2 kB / 485.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.1061, allocations: 58.36 kB / 485.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.1062, allocations: 72.36 kB / 485.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.1078, allocations: 1.227 MB / 486.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.1078, allocations: 3.938 kB / 486.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/0.1079, allocations: 39.92 kB / 486.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.609e-05/0.108, allocations: 77.95 kB / 486.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.1097, allocations: 1.308 MB / 488.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004676/0.1143, allocations: 3.727 MB / 492 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.1159, allocations: 1.087 MB / 493.1 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/0.1167, allocations: 0.6429 MB / 493.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.1167, allocations: 25.06 kB / 493.7 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1168, allocations: 43.56 kB / 493.8 MB, free: 4.809 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 1.873e-06/0.1168, allocations: 0 / 493.8 MB, free: 4.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006025/0.1228, allocations: 3.161 MB / 496.9 MB, free: 1.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.1229, allocations: 98.06 kB / 497 MB, free: 1.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.1232, allocations: 377.5 kB / 497.4 MB, free: 1.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.1233, allocations: 41.7 kB / 497.4 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1234, allocations: 320.1 kB / 497.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.1237, allocations: 323.3 kB / 498.1 MB, free: 456 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.1238, allocations: 73.67 kB / 498.1 MB, free: 376 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1239, allocations: 366.8 kB / 498.5 MB, free: 0 / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/0.1245, allocations: 465.8 kB / 499 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000667/0.1252, allocations: 0.5821 MB / 499.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.1265, allocations: 1.118 MB / 0.4889 GB, free: 13.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1265, allocations: 4 kB / 0.4889 GB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002179/0.1287, allocations: 1.481 MB / 0.4904 GB, free: 12.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1287, allocations: 4 kB / 0.4904 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1288, allocations: 4 kB / 0.4904 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008497/0.1296, allocations: 336.8 kB / 0.4907 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.1303, allocations: 183.7 kB / 0.4909 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004714/0.135, allocations: 3.87 MB / 0.4947 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.1355, allocations: 44.02 kB / 0.4947 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.1355, allocations: 39.98 kB / 0.4947 GB, free: 7.645 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.0003506/0.1359, allocations: 301.5 kB / 0.495 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/0.136, allocations: 63.33 kB / 0.4951 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.1384, allocations: 1.551 MB / 0.4966 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.1384, allocations: 12 kB / 0.4966 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.1385, allocations: 7.938 kB / 0.4966 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.1385, allocations: 3.984 kB / 0.4966 GB, free: 5.691 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.004213/0.1427, allocations: 3.013 MB / 0.4996 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.1427, allocations: 4 kB / 0.4996 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.1433, allocations: 164.1 kB / 0.4997 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007169/0.144, allocations: 285.4 kB / 0.5 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.1441, allocations: 27.98 kB / 0.5 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1574/0.3015, allocations: 3.591 MB / 0.5035 GB, free: 53.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.3015, allocations: 6.5 kB / 0.5035 GB, free: 53.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.3038, allocations: 1.584 MB / 0.5051 GB, free: 53.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.304, allocations: 147 kB / 0.5052 GB, free: 53.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.953e-05/0.3041, allocations: 25.02 kB / 0.5052 GB, free: 53.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.3046, allocations: 41.48 kB / 0.5053 GB, free: 53.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.3047, allocations: 84.97 kB / 0.5054 GB, free: 53.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.3048, allocations: 36.5 kB / 0.5054 GB, free: 53.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.3051, allocations: 265.4 kB / 0.5057 GB, free: 53.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3051, allocations: 1.062 kB / 0.5057 GB, free: 53.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009272/0.306, allocations: 311.2 kB / 0.506 GB, free: 53.17 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.002362/0.3084, allocations: 2.141 MB / 0.508 GB, free: 52.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.3103, allocations: 1.391 MB / 0.5094 GB, free: 51.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3104, allocations: 1.062 kB / 0.5094 GB, free: 51.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.3115, allocations: 0.8352 MB / 0.5102 GB, free: 51.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007701/0.3122, allocations: 107.8 kB / 0.5103 GB, free: 51.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009668/0.3219, allocations: 8.08 MB / 0.5182 GB, free: 47.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.3225, allocations: 1.087 MB / 0.5193 GB, free: 46.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.323, allocations: 184.9 kB / 0.5195 GB, free: 46.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.3234, allocations: 270.1 kB / 0.5197 GB, free: 46.27 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3234, allocations: 3.844 kB / 0.5197 GB, free: 46.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2929/0.6163, allocations: 15.38 MB / 0.5347 GB, free: 36.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.6165, allocations: 236.2 kB / 0.535 GB, free: 36.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.451, allocations: 0 / 0.535 GB, free: 36.37 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