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.00217/0.002169, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 87.95 kB / 261.7 MB, free: 1.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2611/0.2611, allocations: 37.99 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.971e-05, allocations: 0 / 409.9 MB, free: 35.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 56.33 MB / 466.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4976/0.6046, allocations: 95.17 MB / 0.5483 GB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.605, allocations: 85.25 kB / 0.5484 GB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2408/0.8458, allocations: 53.76 MB / 0.6009 GB, free: 1.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.8459, allocations: 0 / 0.6009 GB, free: 1.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.292e-05/0.846, allocations: 24 kB / 0.6009 GB, free: 1.648 MB / 394.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.002714/0.8487, allocations: 0.9641 MB / 0.6018 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.8488, allocations: 12.03 kB / 0.6018 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/0.8541, allocations: 406.4 kB / 0.6022 GB, free: 236 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.8557, allocations: 479.1 kB / 0.6027 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.8558, allocations: 20 kB / 0.6027 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.856, allocations: 51.84 kB / 0.6028 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00252/0.8585, allocations: 0.898 MB / 0.6036 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.8613, allocations: 1.031 MB / 0.6046 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.8613, allocations: 3.938 kB / 0.6046 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.8615, allocations: 3.953 kB / 0.6046 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005301/0.862, allocations: 101.9 kB / 0.6047 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009408/0.8714, allocations: 3.371 MB / 0.608 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.8742, allocations: 1.001 MB / 0.609 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.8758, allocations: 0.5975 MB / 0.6096 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.8759, allocations: 24.31 kB / 0.6096 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.876, allocations: 43.33 kB / 0.6097 GB, free: 8.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.777e-06/0.876, allocations: 0 / 0.6097 GB, free: 8.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.005797/0.8818, allocations: 1.895 MB / 0.6115 GB, free: 6.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.8819, allocations: 85.89 kB / 0.6116 GB, free: 6.469 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.8825, allocations: 294.2 kB / 0.6119 GB, free: 6.176 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.8826, allocations: 25.7 kB / 0.6119 GB, free: 6.145 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.8829, allocations: 362.6 kB / 0.6122 GB, free: 5.785 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.8833, allocations: 299.5 kB / 0.6125 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.8834, allocations: 0 / 0.6125 GB, free: 5.488 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8836, allocations: 346.8 kB / 0.6129 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.8846, allocations: 414.5 kB / 0.6133 GB, free: 4.734 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.8857, allocations: 0.5191 MB / 0.6138 GB, free: 4.188 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.887, allocations: 488.3 kB / 0.6142 GB, free: 3.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.887, allocations: 0 / 0.6142 GB, free: 3.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003859/0.8909, allocations: 1.301 MB / 0.6155 GB, free: 2.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.8909, allocations: 7.938 kB / 0.6155 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.891, allocations: 7.953 kB / 0.6155 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.8926, allocations: 308.1 kB / 0.6158 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.8943, allocations: 187.7 kB / 0.616 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008403/0.9027, allocations: 3.776 MB / 0.6197 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.9039, allocations: 47.92 kB / 0.6197 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.9041, allocations: 31.94 kB / 0.6197 GB, free: 13.91 MB / 426.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 () * 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.0002537/0.9043, allocations: 120.9 kB / 0.6199 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003708/0.908, allocations: 1.238 MB / 0.6211 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.9084, allocations: 55.34 kB / 0.6211 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/0.9127, allocations: 1.433 MB / 0.6225 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.9127, allocations: 16 kB / 0.6225 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.9128, allocations: 7.984 kB / 0.6225 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.9128, allocations: 3.984 kB / 0.6226 GB, free: 11.02 MB / 426.7 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.008306/0.9211, allocations: 2.774 MB / 0.6253 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.9212, allocations: 4 kB / 0.6253 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.9226, allocations: 171.8 kB / 0.6254 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.9241, allocations: 277 kB / 0.6257 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/0.9243, allocations: 8 kB / 0.6257 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007519/0.9318, allocations: 3.468 MB / 0.6291 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/0.9319, allocations: 7.938 kB / 0.6291 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/0.9359, allocations: 1.645 MB / 0.6307 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.9363, allocations: 144.3 kB / 0.6308 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.9365, allocations: 8 kB / 0.6308 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008549/0.9374, allocations: 35.89 kB / 0.6309 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.9376, allocations: 76.62 kB / 0.631 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.9378, allocations: 32 kB / 0.631 GB, free: 1.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003745/0.9381, allocations: 224.7 kB / 0.6312 GB, free: 1.762 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.9382, allocations: 3.938 kB / 0.6312 GB, free: 1.758 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00157/0.9397, allocations: 288 kB / 0.6315 GB, free: 1.477 MB / 426.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 () * 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.004734/0.9445, allocations: 3.243 MB / 0.6346 GB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003477/0.948, allocations: 1.26 MB / 0.6359 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.9481, allocations: 0 / 0.6359 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.9502, allocations: 0.7744 MB / 0.6366 GB, free: 12.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/0.9511, allocations: 77.89 kB / 0.6367 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.9562, allocations: 1.687 MB / 0.6384 GB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.9573, allocations: 1.089 MB / 0.6394 GB, free: 9.062 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008225/0.9581, allocations: 263.3 kB / 0.6397 GB, free: 8.809 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/0.9581, allocations: 0 / 0.6397 GB, free: 8.809 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.113/4.072, allocations: 15.49 MB / 0.6548 GB, free: 9.305 MB / 458.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)