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.000949/0.000949, allocations: 168.4 kB / 16.07 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 222.2 MB, free: 9.023 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.0006953/0.0006957, allocations: 89.02 kB / 270.6 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1682/0.1682, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 12 kB / 423.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2747, allocations: 56.33 MB / 479.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006395/0.2811, allocations: 6.837 MB / 486.6 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004768/0.2859, allocations: 4.176 MB / 490.7 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.2865, allocations: 14.81 kB / 490.8 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.2869, allocations: 138.5 kB / 490.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.2896, allocations: 1.076 MB / 492 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008908/0.2905, allocations: 281.4 kB / 492.2 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00269/0.2932, allocations: 1.915 MB / 494.2 MB, free: 356 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.2958, allocations: 1.231 MB / 495.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.2972, allocations: 497.4 kB / 495.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.2987, allocations: 0.6581 MB / 496.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.2989, allocations: 31.97 kB / 496.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/0.3025, allocations: 1.511 MB / 498.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000842/0.3033, allocations: 447.6 kB / 498.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008993/0.3042, allocations: 395.2 kB / 498.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.3065, allocations: 1.086 MB / 500 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3065, allocations: 4 kB / 500 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3066, allocations: 0 / 500 MB, free: 13.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.3066, allocations: 1.031 kB / 500 MB, free: 13.7 MB / 330.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.001701/0.3083, allocations: 0.9871 MB / 0.4892 GB, free: 12.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.3084, allocations: 10.59 kB / 0.4893 GB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.3085, allocations: 136.5 kB / 0.4894 GB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.3115, allocations: 384.3 kB / 0.4897 GB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008469/0.3124, allocations: 478.8 kB / 0.4902 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.3125, allocations: 53.89 kB / 0.4903 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.3126, allocations: 75.27 kB / 0.4903 GB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.3147, allocations: 1.173 MB / 0.4915 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.3147, allocations: 5.062 kB / 0.4915 GB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.3148, allocations: 30.91 kB / 0.4915 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.315, allocations: 74.61 kB / 0.4916 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.317, allocations: 1.236 MB / 0.4928 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005973/0.323, allocations: 3.526 MB / 0.4962 GB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.3247, allocations: 1.071 MB / 0.4973 GB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.3257, allocations: 0.6491 MB / 0.4979 GB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.141e-05/0.3258, allocations: 14.7 kB / 0.4979 GB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.3258, allocations: 46.73 kB / 0.498 GB, free: 7.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 5.05e-06/0.3259, allocations: 1.125 kB / 0.498 GB, free: 7.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.006834/0.3327, allocations: 3.089 MB / 0.501 GB, free: 4.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.3328, allocations: 90.09 kB / 0.5011 GB, free: 4.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.3332, allocations: 361.6 kB / 0.5014 GB, free: 4.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.3333, allocations: 41.7 kB / 0.5015 GB, free: 4.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.3335, allocations: 316.2 kB / 0.5018 GB, free: 3.984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.3338, allocations: 315.4 kB / 0.5021 GB, free: 3.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.3339, allocations: 16 kB / 0.5021 GB, free: 3.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.334, allocations: 366.7 kB / 0.5024 GB, free: 3.289 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006769/0.3347, allocations: 473.7 kB / 0.5029 GB, free: 2.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/0.3355, allocations: 0.5656 MB / 0.5034 GB, free: 2.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.3371, allocations: 1.105 MB / 0.5045 GB, free: 1.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3371, allocations: 0 / 0.5045 GB, free: 1.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002454/0.3395, allocations: 1.473 MB / 0.5059 GB, free: 15.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3396, allocations: 4 kB / 0.5059 GB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3396, allocations: 4 kB / 0.506 GB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009656/0.3406, allocations: 336.8 kB / 0.5063 GB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/0.3413, allocations: 183.7 kB / 0.5064 GB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/0.3466, allocations: 3.868 MB / 0.5102 GB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/0.3473, allocations: 43.95 kB / 0.5103 GB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.3475, allocations: 39.92 kB / 0.5103 GB, free: 10.98 MB / 346.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.0004835/0.348, allocations: 297.5 kB / 0.5106 GB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.3481, allocations: 59.34 kB / 0.5106 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.3508, allocations: 1.559 MB / 0.5122 GB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3508, allocations: 15.94 kB / 0.5122 GB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3509, allocations: 4 kB / 0.5122 GB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3509, allocations: 3.984 kB / 0.5122 GB, free: 9.023 MB / 346.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.00505/0.3559, allocations: 3.032 MB / 0.5152 GB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.356, allocations: 8.031 kB / 0.5152 GB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.3566, allocations: 163.8 kB / 0.5153 GB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008133/0.3574, allocations: 284.5 kB / 0.5156 GB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/0.3575, allocations: 27.98 kB / 0.5156 GB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00493/0.3625, allocations: 3.601 MB / 0.5191 GB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.3625, allocations: 7.938 kB / 0.5191 GB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.3653, allocations: 1.584 MB / 0.5207 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.3656, allocations: 148.3 kB / 0.5208 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.3657, allocations: 23.98 kB / 0.5209 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.3662, allocations: 39.97 kB / 0.5209 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.3664, allocations: 84.77 kB / 0.521 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.3665, allocations: 39.98 kB / 0.521 GB, free: 15.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003424/0.3669, allocations: 251.2 kB / 0.5212 GB, free: 15.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3669, allocations: 0 / 0.5212 GB, free: 15.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001167/0.368, allocations: 308 kB / 0.5215 GB, free: 15.08 MB / 362.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.002834/0.3709, allocations: 2.16 MB / 0.5237 GB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.3732, allocations: 1.386 MB / 0.525 GB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.3733, allocations: 0 / 0.525 GB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.3745, allocations: 0.8399 MB / 0.5258 GB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3756, allocations: 107.1 kB / 0.5259 GB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008739/0.3843, allocations: 5.271 MB / 0.5311 GB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008615/0.3853, allocations: 1.076 MB / 0.5321 GB, free: 3.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/0.3857, allocations: 267.3 kB / 0.5324 GB, free: 3.727 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.3858, allocations: 0 / 0.5324 GB, free: 3.727 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.675/4.061, allocations: 13.96 MB / 0.546 GB, free: 5.742 MB / 378.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)