Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009759/0.0009763, allocations: 82.91 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1798/0.1798, allocations: 38 MB / 348 MB, free: 7.766 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.244e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 56.32 MB / 467 MB, free: 6.477 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.5534, allocations: 95.09 MB / 0.5489 GB, free: 15.7 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.5537, allocations: 79.95 kB / 0.549 GB, free: 15.62 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1324/0.6862, allocations: 54.36 MB / 0.6021 GB, free: 8.582 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6862, allocations: 4 kB / 0.6021 GB, free: 8.578 MB / 443.1 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.6863, allocations: 12 kB / 0.6021 GB, free: 8.566 MB / 443.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002181/0.6884, allocations: 0.9644 MB / 0.603 GB, free: 7.555 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/0.6885, allocations: 12.02 kB / 0.603 GB, free: 7.543 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.6921, allocations: 406.5 kB / 0.6034 GB, free: 7.145 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.6931, allocations: 479.6 kB / 0.6039 GB, free: 6.637 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.6932, allocations: 24 kB / 0.6039 GB, free: 6.613 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.6933, allocations: 51.89 kB / 0.604 GB, free: 6.562 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001732/0.6951, allocations: 0.898 MB / 0.6048 GB, free: 5.664 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.6969, allocations: 1.031 MB / 0.6058 GB, free: 4.609 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.6969, allocations: 0 / 0.6058 GB, free: 4.609 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/0.697, allocations: 11.94 kB / 0.6058 GB, free: 4.598 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003061/0.6973, allocations: 101.9 kB / 0.6059 GB, free: 4.496 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005946/0.7032, allocations: 3.367 MB / 0.6092 GB, free: 1.043 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.7049, allocations: 1.006 MB / 0.6102 GB, free: 16 kB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008724/0.7058, allocations: 0.6015 MB / 0.6108 GB, free: 15.41 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/0.7059, allocations: 16.77 kB / 0.6108 GB, free: 15.39 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.7059, allocations: 39.34 kB / 0.6109 GB, free: 15.35 MB / 459.1 MB Notification: Performance of pre-optimization done (n=91): time 5.05e-06/0.706, allocations: 0 / 0.6109 GB, free: 15.35 MB / 459.1 MB Notification: Performance of matching and sorting (n=92): time 0.003928/0.7099, allocations: 1.891 MB / 0.6127 GB, free: 13.44 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.71, allocations: 89.83 kB / 0.6128 GB, free: 13.34 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.7104, allocations: 298.2 kB / 0.6131 GB, free: 13.04 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.7105, allocations: 33.73 kB / 0.6131 GB, free: 13 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.7107, allocations: 304.2 kB / 0.6134 GB, free: 12.69 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.711, allocations: 299.5 kB / 0.6137 GB, free: 12.39 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.7111, allocations: 0 / 0.6137 GB, free: 12.39 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.7113, allocations: 370.8 kB / 0.614 GB, free: 12.02 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/0.712, allocations: 418.5 kB / 0.6144 GB, free: 11.62 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.7127, allocations: 0.5074 MB / 0.6149 GB, free: 11.08 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/0.7135, allocations: 0.4924 MB / 0.6154 GB, free: 10.59 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.7135, allocations: 4 kB / 0.6154 GB, free: 10.59 MB / 459.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002338/0.7158, allocations: 1.313 MB / 0.6167 GB, free: 9.266 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.7159, allocations: 4 kB / 0.6167 GB, free: 9.262 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.7159, allocations: 7.953 kB / 0.6167 GB, free: 9.254 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009633/0.7169, allocations: 303.1 kB / 0.617 GB, free: 8.957 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.7177, allocations: 187.7 kB / 0.6172 GB, free: 8.773 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005591/0.7233, allocations: 3.766 MB / 0.6209 GB, free: 4.863 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007804/0.7241, allocations: 51.84 kB / 0.6209 GB, free: 4.812 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.7242, allocations: 31.95 kB / 0.6209 GB, free: 4.781 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0002493/0.7244, allocations: 120.9 kB / 0.621 GB, free: 4.656 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002334/0.7268, allocations: 1.242 MB / 0.6223 GB, free: 3.406 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.7269, allocations: 55.34 kB / 0.6223 GB, free: 3.352 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.7298, allocations: 1.434 MB / 0.6237 GB, free: 1.902 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.7298, allocations: 16 kB / 0.6237 GB, free: 1.887 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.7298, allocations: 4 kB / 0.6237 GB, free: 1.883 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.7298, allocations: 7.922 kB / 0.6237 GB, free: 1.875 MB / 459.1 MB Warning: The model contains alias variables with conflicting start and/or 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.005234/0.7351, allocations: 2.777 MB / 0.6265 GB, free: 14.98 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.7351, allocations: 4 kB / 0.6265 GB, free: 14.98 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.7358, allocations: 171.7 kB / 0.6266 GB, free: 14.81 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008482/0.7366, allocations: 277.1 kB / 0.6269 GB, free: 14.54 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.7367, allocations: 8 kB / 0.6269 GB, free: 14.53 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005076/0.7418, allocations: 3.48 MB / 0.6303 GB, free: 10.92 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.7418, allocations: 4 kB / 0.6303 GB, free: 10.91 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.7444, allocations: 1.637 MB / 0.6319 GB, free: 9.117 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.7447, allocations: 144.3 kB / 0.632 GB, free: 8.957 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.564e-05/0.7448, allocations: 11.98 kB / 0.632 GB, free: 8.945 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.7452, allocations: 36 kB / 0.6321 GB, free: 8.91 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.7454, allocations: 80.61 kB / 0.6322 GB, free: 8.832 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.7455, allocations: 32 kB / 0.6322 GB, free: 8.801 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0002888/0.7457, allocations: 224.6 kB / 0.6324 GB, free: 8.582 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7458, allocations: 0 / 0.6324 GB, free: 8.582 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001216/0.747, allocations: 284 kB / 0.6327 GB, free: 8.305 MB / 475.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 () * 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.003363/0.7504, allocations: 3.237 MB / 0.6358 GB, free: 4.938 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.7527, allocations: 1.26 MB / 0.6371 GB, free: 3.664 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7527, allocations: 0 / 0.6371 GB, free: 3.664 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.7539, allocations: 0.7783 MB / 0.6378 GB, free: 2.875 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.7546, allocations: 69.91 kB / 0.6379 GB, free: 2.801 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.758, allocations: 1.604 MB / 0.6395 GB, free: 1.109 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2918/1.05, allocations: 1.089 MB / 0.6405 GB, free: 125.2 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0007549/1.051, allocations: 176.4 kB / 0.6407 GB, free: 125.2 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/1.051, allocations: 255.1 kB / 0.6409 GB, free: 125.2 MB / 475.1 MB Notification: Performance of SimCode: time 9.32e-07/1.051, allocations: 2.562 kB / 0.6409 GB, free: 125.2 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/1.096, allocations: 14.41 MB / 0.655 GB, free: 124.7 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/1.096, allocations: 143 kB / 0.6551 GB, free: 124.5 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.382, allocations: 0 / 0.6551 GB, free: 124.5 MB / 475.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat does not exist to compare? outputFormat=mat