Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001948/0.001948, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.74/1.74, allocations: 194.2 MB / 208.4 MB, free: 6.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 119.9 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.189/0.189, allocations: 37.9 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.631e-05, allocations: 0 / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.4496, allocations: 90.85 MB / 0.529 GB, free: 2.473 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.45, allocations: 87.8 kB / 0.5291 GB, free: 2.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4405/0.8906, allocations: 53.99 MB / 0.5818 GB, free: 46.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.8906, allocations: 0 / 0.5818 GB, free: 46.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.092e-05/0.8907, allocations: 16 kB / 0.5818 GB, free: 46.11 MB / 378.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.001853/0.8925, allocations: 0.9644 MB / 0.5828 GB, free: 45.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.8926, allocations: 12.03 kB / 0.5828 GB, free: 45.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.8928, allocations: 127 kB / 0.5829 GB, free: 44.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.8961, allocations: 394.6 kB / 0.5833 GB, free: 44.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009594/0.8971, allocations: 483.5 kB / 0.5837 GB, free: 44.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.8972, allocations: 57.98 kB / 0.5838 GB, free: 44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.8973, allocations: 68 kB / 0.5839 GB, free: 43.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.8991, allocations: 1.141 MB / 0.585 GB, free: 42.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.8991, allocations: 3.906 kB / 0.585 GB, free: 42.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.8992, allocations: 31.98 kB / 0.585 GB, free: 42.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000315/0.8996, allocations: 97.91 kB / 0.5851 GB, free: 42.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.9014, allocations: 1.175 MB / 0.5863 GB, free: 41.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005851/0.9073, allocations: 3.523 MB / 0.5897 GB, free: 37.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.9089, allocations: 1.043 MB / 0.5907 GB, free: 36.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/0.9097, allocations: 0.64 MB / 0.5913 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.194e-05/0.9098, allocations: 16.77 kB / 0.5914 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.9098, allocations: 51.34 kB / 0.5914 GB, free: 36.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.827e-06/0.9098, allocations: 0 / 0.5914 GB, free: 36.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.003404/0.9133, allocations: 1.986 MB / 0.5933 GB, free: 34.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.9133, allocations: 89.83 kB / 0.5934 GB, free: 33.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.9137, allocations: 311.5 kB / 0.5937 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.9137, allocations: 41.7 kB / 0.5938 GB, free: 33.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.9139, allocations: 316.1 kB / 0.5941 GB, free: 33.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.9142, allocations: 315.4 kB / 0.5944 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.9142, allocations: 12 kB / 0.5944 GB, free: 32.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.9143, allocations: 374.8 kB / 0.5947 GB, free: 32.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.9148, allocations: 433.8 kB / 0.5951 GB, free: 32.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.9155, allocations: 0.5265 MB / 0.5957 GB, free: 31.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.9161, allocations: 0.5096 MB / 0.5962 GB, free: 31.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.9161, allocations: 0 / 0.5962 GB, free: 31.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002157/0.9183, allocations: 1.399 MB / 0.5975 GB, free: 29.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.9184, allocations: 4 kB / 0.5975 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.9184, allocations: 11.92 kB / 0.5975 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009822/0.9194, allocations: 331.9 kB / 0.5979 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.9202, allocations: 191.7 kB / 0.598 GB, free: 29.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/0.9248, allocations: 3.884 MB / 0.6018 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007512/0.9256, allocations: 67.91 kB / 0.6019 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.9257, allocations: 24 kB / 0.6019 GB, free: 25.01 MB / 378.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.0002015/0.9259, allocations: 148.8 kB / 0.6021 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.926, allocations: 63.28 kB / 0.6021 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.9285, allocations: 1.512 MB / 0.6036 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.9286, allocations: 8 kB / 0.6036 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9286, allocations: 4 kB / 0.6036 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.9286, allocations: 11.98 kB / 0.6036 GB, free: 23.25 MB / 378.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.004311/0.9329, allocations: 2.975 MB / 0.6065 GB, free: 20.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.9329, allocations: 11.94 kB / 0.6065 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.9335, allocations: 167.7 kB / 0.6067 GB, free: 19.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000717/0.9343, allocations: 281.5 kB / 0.607 GB, free: 19.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.9343, allocations: 23.98 kB / 0.607 GB, free: 19.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004007/0.9384, allocations: 3.598 MB / 0.6105 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.9384, allocations: 4.062 kB / 0.6105 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.9407, allocations: 1.713 MB / 0.6122 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.941, allocations: 140.3 kB / 0.6123 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.9411, allocations: 24 kB / 0.6123 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.9415, allocations: 47.94 kB / 0.6124 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.9417, allocations: 80.58 kB / 0.6125 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/0.9418, allocations: 35.98 kB / 0.6125 GB, free: 13.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002944/0.9421, allocations: 250.1 kB / 0.6127 GB, free: 13.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9421, allocations: 3.938 kB / 0.6127 GB, free: 13.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001021/0.9431, allocations: 319.9 kB / 0.613 GB, free: 13.15 MB / 378.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.002644/0.9457, allocations: 3.324 MB / 0.6163 GB, free: 9.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.9477, allocations: 1.309 MB / 0.6176 GB, free: 8.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9477, allocations: 0 / 0.6176 GB, free: 8.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.9488, allocations: 0.8196 MB / 0.6184 GB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.9495, allocations: 84.8 kB / 0.6184 GB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.9522, allocations: 1.69 MB / 0.6201 GB, free: 5.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.9528, allocations: 1.089 MB / 0.6212 GB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004122/0.9533, allocations: 176.6 kB / 0.6213 GB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.9536, allocations: 259.3 kB / 0.6216 GB, free: 4.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.813e-06/0.9536, allocations: 0 / 0.6216 GB, free: 4.133 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03731/0.9909, allocations: 15.15 MB / 0.6364 GB, free: 4.973 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/0.9913, allocations: 175.7 kB / 0.6365 GB, free: 4.746 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/3.719, allocations: 64 / 0.6365 GB, free: 4.746 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)