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.001153/0.001153, allocations: 89.3 kB / 16.31 MB, free: 6.41 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.0009715/0.0009718, allocations: 183.7 kB / 17.21 MB, free: 6.289 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.565/1.565, allocations: 223.2 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.19/0.19, allocations: 38.09 MB / 330.4 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004975, allocations: 8 kB / 400.2 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1506, allocations: 59.17 MB / 459.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008684/0.1594, allocations: 7.181 MB / 466.5 MB, free: 100 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00717/0.1666, allocations: 4.509 MB / 471 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007896/0.1675, allocations: 15.94 kB / 471 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.1681, allocations: 154.9 kB / 471.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.1713, allocations: 0.9339 MB / 472.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.1723, allocations: 275.3 kB / 472.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002682/0.175, allocations: 1.987 MB / 474.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.1774, allocations: 1.154 MB / 475.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.1789, allocations: 0.5016 MB / 476 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.18, allocations: 0.6893 MB / 476.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.184e-05/0.18, allocations: 32 kB / 476.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.1821, allocations: 0.7908 MB / 477.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004747/0.1826, allocations: 466.8 kB / 478 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.1828, allocations: 173.3 kB / 478.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.1842, allocations: 1.091 MB / 479.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1843, allocations: 0 / 479.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.1843, allocations: 4 kB / 479.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1843, allocations: 3.938 kB / 479.3 MB, free: 3.281 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.001715/0.186, allocations: 1.015 MB / 480.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.1861, allocations: 8.031 kB / 480.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.1863, allocations: 135.2 kB / 480.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.1893, allocations: 418.3 kB / 480.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007888/0.1901, allocations: 482.2 kB / 481.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.1902, allocations: 57.98 kB / 481.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.1903, allocations: 71.98 kB / 481.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.1923, allocations: 1.226 MB / 482.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.1923, allocations: 3.906 kB / 482.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.1924, allocations: 31.98 kB / 482.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.1925, allocations: 81.95 kB / 482.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.1945, allocations: 1.308 MB / 484.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005611/0.2001, allocations: 3.712 MB / 487.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.202, allocations: 1.09 MB / 488.9 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008733/0.2028, allocations: 0.6376 MB / 489.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.199e-05/0.2029, allocations: 21.12 kB / 489.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.203, allocations: 43.56 kB / 489.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.477e-06/0.203, allocations: 0 / 489.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006643/0.2096, allocations: 3.114 MB / 492.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.2097, allocations: 90.11 kB / 492.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.2102, allocations: 373.6 kB / 493.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.2103, allocations: 45.64 kB / 493.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.2105, allocations: 328.1 kB / 493.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.2109, allocations: 323.3 kB / 493.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.2109, allocations: 16 kB / 493.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.2111, allocations: 370.8 kB / 494.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/0.2118, allocations: 461.7 kB / 494.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000789/0.2126, allocations: 0.5743 MB / 495.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.2135, allocations: 0.5379 MB / 495.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2135, allocations: 4 kB / 495.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002445/0.2159, allocations: 1.465 MB / 497.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.216, allocations: 11.94 kB / 497.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.216, allocations: 4 kB / 497.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009333/0.2169, allocations: 336.8 kB / 497.6 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.2176, allocations: 187.7 kB / 497.8 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005296/0.2229, allocations: 3.862 MB / 0.4899 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.2236, allocations: 51.94 kB / 0.4899 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.2236, allocations: 40.05 kB / 0.49 GB, free: 12.27 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 (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: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005174/0.2242, allocations: 297.6 kB / 0.4902 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.2243, allocations: 55.34 kB / 0.4903 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.227, allocations: 1.551 MB / 0.4918 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.227, allocations: 11.95 kB / 0.4918 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.227, allocations: 11.94 kB / 0.4918 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.227, allocations: 3.984 kB / 0.4918 GB, free: 10.32 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.005056/0.2321, allocations: 2.998 MB / 0.4948 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.2321, allocations: 4 kB / 0.4948 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.2327, allocations: 171.8 kB / 0.4949 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007754/0.2335, allocations: 277.9 kB / 0.4952 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.2336, allocations: 27.98 kB / 0.4952 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/0.2386, allocations: 3.595 MB / 0.4987 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.2386, allocations: 7.938 kB / 0.4987 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.2416, allocations: 1.569 MB / 0.5003 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.2419, allocations: 148.3 kB / 0.5004 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/0.242, allocations: 20 kB / 0.5004 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.2424, allocations: 39.95 kB / 0.5005 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.2425, allocations: 88.78 kB / 0.5006 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.529e-05/0.2426, allocations: 36 kB / 0.5006 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003629/0.243, allocations: 263.1 kB / 0.5008 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.243, allocations: 0 / 0.5008 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001145/0.2441, allocations: 308 kB / 0.5011 GB, free: 448 kB / 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 (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: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2627/0.5068, allocations: 2.124 MB / 0.5032 GB, free: 54.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0026/0.5095, allocations: 1.381 MB / 0.5046 GB, free: 54.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.5095, allocations: 0 / 0.5046 GB, free: 54.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.5109, allocations: 0.8389 MB / 0.5054 GB, free: 54.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/0.5118, allocations: 112 kB / 0.5055 GB, free: 54.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007937/0.5197, allocations: 5.269 MB / 0.5106 GB, free: 52.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008358/0.5206, allocations: 1.082 MB / 0.5117 GB, free: 51.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005924/0.5212, allocations: 184.4 kB / 0.5119 GB, free: 51.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.5216, allocations: 272.5 kB / 0.5121 GB, free: 51.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.713e-06/0.5216, allocations: 0 / 0.5121 GB, free: 51.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.5557, allocations: 15.12 MB / 0.5269 GB, free: 44.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.556, allocations: 225.7 kB / 0.5271 GB, free: 44.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.779, allocations: 4.062 kB / 0.5271 GB, free: 44.64 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat does not exist to compare? outputFormat=mat