Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.001275/0.001275, 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.683/1.683, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001047/0.001047, allocations: 81.94 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1909/0.1909, allocations: 38 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.869e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 56.33 MB / 467 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5128/0.6372, allocations: 95.17 MB / 0.549 GB, free: 15.63 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.6376, allocations: 87.89 kB / 0.5491 GB, free: 15.54 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1249/0.7625, allocations: 53.77 MB / 0.6016 GB, free: 9.098 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7626, allocations: 0 / 0.6016 GB, free: 9.098 MB / 443.1 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.7626, allocations: 16 kB / 0.6016 GB, free: 9.082 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.001643/0.7643, allocations: 0.9683 MB / 0.6025 GB, free: 8.066 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.7643, allocations: 8.031 kB / 0.6025 GB, free: 8.059 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/0.7676, allocations: 406.4 kB / 0.6029 GB, free: 7.66 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.7685, allocations: 475.6 kB / 0.6034 GB, free: 7.156 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.7685, allocations: 24 kB / 0.6034 GB, free: 7.133 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.7687, allocations: 47.91 kB / 0.6035 GB, free: 7.086 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001439/0.7701, allocations: 0.9018 MB / 0.6043 GB, free: 6.184 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.7717, allocations: 1.031 MB / 0.6053 GB, free: 5.129 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.7717, allocations: 3.938 kB / 0.6053 GB, free: 5.125 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.7718, allocations: 7.953 kB / 0.6054 GB, free: 5.117 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/0.7721, allocations: 101.8 kB / 0.6054 GB, free: 5.016 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/0.7772, allocations: 3.371 MB / 0.6087 GB, free: 1.555 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.7787, allocations: 1.002 MB / 0.6097 GB, free: 0.5312 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007385/0.7795, allocations: 0.6015 MB / 0.6103 GB, free: 15.93 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.755e-05/0.7795, allocations: 17.33 kB / 0.6103 GB, free: 15.91 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.7796, allocations: 43.28 kB / 0.6104 GB, free: 15.86 MB / 459.1 MB Notification: Performance of pre-optimization done (n=91): time 4.078e-06/0.7796, allocations: 0 / 0.6104 GB, free: 15.86 MB / 459.1 MB Notification: Performance of matching and sorting (n=92): time 0.003289/0.7829, allocations: 1.895 MB / 0.6122 GB, free: 13.95 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.783, allocations: 85.89 kB / 0.6123 GB, free: 13.85 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.7833, allocations: 294.2 kB / 0.6126 GB, free: 13.55 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.7834, allocations: 25.7 kB / 0.6126 GB, free: 13.52 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.7836, allocations: 312.2 kB / 0.6129 GB, free: 13.21 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.7839, allocations: 303.5 kB / 0.6132 GB, free: 12.91 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.7839, allocations: 0 / 0.6132 GB, free: 12.91 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.7841, allocations: 366.8 kB / 0.6135 GB, free: 12.54 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/0.7847, allocations: 414.5 kB / 0.6139 GB, free: 12.14 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/0.7853, allocations: 0.5152 MB / 0.6144 GB, free: 11.59 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006893/0.786, allocations: 492.3 kB / 0.6149 GB, free: 11.12 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.786, allocations: 0 / 0.6149 GB, free: 11.12 MB / 459.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002086/0.7881, allocations: 1.317 MB / 0.6162 GB, free: 9.789 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.7881, allocations: 8 kB / 0.6162 GB, free: 9.781 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.7881, allocations: 7.953 kB / 0.6162 GB, free: 9.773 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008992/0.7891, allocations: 311.1 kB / 0.6165 GB, free: 9.469 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007614/0.7898, allocations: 187.7 kB / 0.6167 GB, free: 9.285 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.7947, allocations: 3.769 MB / 0.6204 GB, free: 5.375 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.7954, allocations: 51.86 kB / 0.6204 GB, free: 5.324 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.7954, allocations: 35.94 kB / 0.6204 GB, free: 5.289 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.0001912/0.7956, allocations: 116.9 kB / 0.6206 GB, free: 5.168 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002054/0.7977, allocations: 1.246 MB / 0.6218 GB, free: 3.914 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.7978, allocations: 55.34 kB / 0.6218 GB, free: 3.859 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.8002, allocations: 1.43 MB / 0.6232 GB, free: 2.414 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.8003, allocations: 19.94 kB / 0.6232 GB, free: 2.395 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.8003, allocations: 4 kB / 0.6232 GB, free: 2.391 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.8003, allocations: 3.984 kB / 0.6233 GB, free: 2.387 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.004757/0.8051, allocations: 2.773 MB / 0.626 GB, free: 15.5 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.8051, allocations: 4 kB / 0.626 GB, free: 15.49 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/0.8058, allocations: 171.8 kB / 0.6261 GB, free: 15.32 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007436/0.8066, allocations: 273.1 kB / 0.6264 GB, free: 15.05 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/0.8066, allocations: 7.938 kB / 0.6264 GB, free: 15.05 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/0.811, allocations: 3.48 MB / 0.6298 GB, free: 11.44 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.811, allocations: 7.938 kB / 0.6298 GB, free: 11.43 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.8134, allocations: 1.641 MB / 0.6314 GB, free: 9.629 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.8136, allocations: 144.3 kB / 0.6315 GB, free: 9.469 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/0.8137, allocations: 8 kB / 0.6316 GB, free: 9.461 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.8142, allocations: 35.89 kB / 0.6316 GB, free: 9.426 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.8143, allocations: 80.62 kB / 0.6317 GB, free: 9.348 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.8144, allocations: 35.98 kB / 0.6317 GB, free: 9.312 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.8147, allocations: 224.6 kB / 0.6319 GB, free: 9.094 MB / 475.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8147, allocations: 0 / 0.6319 GB, free: 9.094 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001063/0.8157, allocations: 284 kB / 0.6322 GB, free: 8.816 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.003048/0.8188, allocations: 3.241 MB / 0.6353 GB, free: 5.445 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.8208, allocations: 1.256 MB / 0.6366 GB, free: 4.176 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8208, allocations: 0 / 0.6366 GB, free: 4.176 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.822, allocations: 0.7821 MB / 0.6373 GB, free: 3.383 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.8227, allocations: 73.91 kB / 0.6374 GB, free: 3.305 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.8256, allocations: 1.604 MB / 0.639 GB, free: 1.613 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/0.8264, allocations: 1.089 MB / 0.64 GB, free: 0.4922 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0005284/0.8269, allocations: 176.6 kB / 0.6402 GB, free: 328 kB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.8273, allocations: 251.3 kB / 0.6404 GB, free: 80 kB / 475.1 MB Notification: Performance of SimCode: time 8.01e-07/0.8273, allocations: 0 / 0.6404 GB, free: 80 kB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3524/1.18, allocations: 14.41 MB / 0.6545 GB, free: 124.7 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.18, allocations: 147.6 kB / 0.6547 GB, free: 124.5 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.505, allocations: 0 / 0.6547 GB, free: 124.5 MB / 475.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat does not exist to compare? outputFormat=mat