Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_cpp_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.002564/0.002564, allocations: 181.8 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 221.9 MB, free: 13.69 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 90.86 kB / 270.2 MB, free: 13.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2571/0.2571, allocations: 38.05 MB / 356.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004769, allocations: 12 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 56.33 MB / 479.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.6063, allocations: 95.92 MB / 0.5616 GB, free: 4.215 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.6067, allocations: 87.44 kB / 0.5617 GB, free: 4.164 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2082/0.8149, allocations: 54.32 MB / 0.6147 GB, free: 5.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.815, allocations: 0 / 0.6147 GB, free: 5.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.618e-05/0.815, allocations: 12 kB / 0.6147 GB, free: 5.078 MB / 410.7 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.002618/0.8176, allocations: 1.015 MB / 0.6157 GB, free: 4.012 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.8177, allocations: 12.03 kB / 0.6157 GB, free: 4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002689/0.818, allocations: 138.9 kB / 0.6159 GB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005327/0.8233, allocations: 390.5 kB / 0.6162 GB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.8248, allocations: 491.5 kB / 0.6167 GB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.8249, allocations: 57.98 kB / 0.6168 GB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.8252, allocations: 71.98 kB / 0.6168 GB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003545/0.8288, allocations: 1.14 MB / 0.6179 GB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.065e-05/0.8289, allocations: 7.938 kB / 0.6179 GB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.829, allocations: 27.98 kB / 0.618 GB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005288/0.8295, allocations: 105.9 kB / 0.6181 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003661/0.8332, allocations: 1.194 MB / 0.6192 GB, free: 328 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009976/0.8433, allocations: 3.523 MB / 0.6227 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.8463, allocations: 1.047 MB / 0.6237 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.8465, allocations: 21.03 kB / 0.6237 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.8465, allocations: 43.52 kB / 0.6238 GB, free: 11.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.739e-06/0.8465, allocations: 0 / 0.6238 GB, free: 11.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01258/0.8591, allocations: 3.061 MB / 0.6267 GB, free: 8.477 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.8593, allocations: 94.17 kB / 0.6268 GB, free: 8.367 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/0.8599, allocations: 320.8 kB / 0.6271 GB, free: 8.051 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002364/0.8602, allocations: 41.7 kB / 0.6272 GB, free: 8.004 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.8605, allocations: 354.6 kB / 0.6275 GB, free: 7.652 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005349/0.861, allocations: 319.3 kB / 0.6278 GB, free: 7.336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.8611, allocations: 16 kB / 0.6278 GB, free: 7.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.8613, allocations: 346.8 kB / 0.6282 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.8626, allocations: 437.7 kB / 0.6286 GB, free: 6.543 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.864, allocations: 0.5461 MB / 0.6291 GB, free: 5.969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.8655, allocations: 0.5105 MB / 0.6296 GB, free: 5.461 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.8656, allocations: 4 kB / 0.6296 GB, free: 5.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004477/0.87, allocations: 1.392 MB / 0.631 GB, free: 4.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.8701, allocations: 4 kB / 0.631 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.8701, allocations: 4 kB / 0.631 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.8719, allocations: 343.1 kB / 0.6313 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.8736, allocations: 191.7 kB / 0.6315 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009675/0.8833, allocations: 4.005 MB / 0.6354 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.8845, allocations: 59.92 kB / 0.6355 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.8846, allocations: 35.98 kB / 0.6355 GB, free: 15.26 MB / 442.7 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 () * Number of clocked 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.0007036/0.8853, allocations: 286.2 kB / 0.6358 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.8855, allocations: 59.34 kB / 0.6358 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/0.8903, allocations: 1.536 MB / 0.6373 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.8903, allocations: 8 kB / 0.6373 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.8903, allocations: 8 kB / 0.6374 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.8904, allocations: 7.922 kB / 0.6374 GB, free: 13.34 MB / 442.7 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.009195/0.8996, allocations: 3.001 MB / 0.6403 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.8997, allocations: 8.094 kB / 0.6403 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.9011, allocations: 167.8 kB / 0.6405 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.9026, allocations: 285 kB / 0.6407 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/0.9028, allocations: 23.98 kB / 0.6408 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008597/0.9114, allocations: 3.692 MB / 0.6444 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.9115, allocations: 4 kB / 0.6444 GB, free: 5.895 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004507/0.916, allocations: 1.735 MB / 0.6461 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.9164, allocations: 140.3 kB / 0.6462 GB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.9166, allocations: 31.95 kB / 0.6462 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/0.9174, allocations: 51.94 kB / 0.6463 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.9177, allocations: 72.84 kB / 0.6463 GB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.9178, allocations: 35.94 kB / 0.6464 GB, free: 3.656 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004614/0.9182, allocations: 259.2 kB / 0.6466 GB, free: 3.402 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.9183, allocations: 0 / 0.6466 GB, free: 3.402 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00144/0.9197, allocations: 316 kB / 0.6469 GB, free: 3.094 MB / 442.7 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.005181/0.9249, allocations: 3.33 MB / 0.6502 GB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003684/0.9286, allocations: 1.351 MB / 0.6515 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9287, allocations: 4.062 kB / 0.6515 GB, free: 14.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.9309, allocations: 0.836 MB / 0.6523 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008142/0.9317, allocations: 90.86 kB / 0.6524 GB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.9453, allocations: 6.573 MB / 0.6588 GB, free: 6.605 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.9464, allocations: 1.089 MB / 0.6599 GB, free: 5.492 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008048/0.9473, allocations: 259.3 kB / 0.6601 GB, free: 5.238 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9473, allocations: 0 / 0.6601 GB, free: 5.238 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/3.798, allocations: 15.09 MB / 0.6749 GB, free: 6.125 MB / 474.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)