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.001619/0.001618, allocations: 187.1 kB / 15.77 MB, free: 5.984 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.996/1.996, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001139/0.001139, allocations: 90.88 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2957/0.2957, allocations: 38.05 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004514, allocations: 8 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 56.34 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01001/0.1159, allocations: 6.489 MB / 485.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008463/0.1244, allocations: 4.035 MB / 489.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005279/0.125, allocations: 15.94 kB / 489.7 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.1255, allocations: 151.2 kB / 489.8 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.1282, allocations: 0.6307 MB / 490.5 MB, free: 6.582 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.1293, allocations: 243.3 kB / 490.7 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.1305, allocations: 0.5886 MB / 491.3 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.1337, allocations: 1.158 MB / 492.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009782/0.1347, allocations: 386.6 kB / 492.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006712/0.1354, allocations: 342.9 kB / 493.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.1355, allocations: 32 kB / 493.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.1378, allocations: 0.6938 MB / 493.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006352/0.1384, allocations: 395.1 kB / 494.3 MB, free: 2.746 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.1388, allocations: 173.3 kB / 494.4 MB, free: 2.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.1411, allocations: 1.029 MB / 495.5 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1411, allocations: 0 / 495.5 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1412, allocations: 8 kB / 495.5 MB, free: 1.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.1412, allocations: 0 / 495.5 MB, free: 1.531 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.002332/0.1435, allocations: 0.9835 MB / 496.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1436, allocations: 8.031 kB / 496.5 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.1439, allocations: 142.9 kB / 496.6 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005104/0.149, allocations: 430.4 kB / 497 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.1503, allocations: 465.6 kB / 497.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.099e-05/0.1504, allocations: 54 kB / 497.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.1506, allocations: 75.88 kB / 497.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.1536, allocations: 1.168 MB / 498.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.1537, allocations: 0 / 498.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.1538, allocations: 35.94 kB / 498.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.154, allocations: 69.95 kB / 498.9 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/0.1573, allocations: 1.234 MB / 0.4884 GB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009294/0.1666, allocations: 3.531 MB / 0.4918 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.1696, allocations: 1.069 MB / 0.4929 GB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.1698, allocations: 13.05 kB / 0.4929 GB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.1698, allocations: 47.55 kB / 0.4929 GB, free: 7.984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 4.128e-06/0.1698, allocations: 0 / 0.4929 GB, free: 7.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=92): time 0.01167/0.1815, allocations: 3.061 MB / 0.4959 GB, free: 4.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.1816, allocations: 86.11 kB / 0.496 GB, free: 4.789 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.1823, allocations: 357.7 kB / 0.4963 GB, free: 4.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001951/0.1825, allocations: 41.7 kB / 0.4964 GB, free: 4.387 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.1828, allocations: 358.5 kB / 0.4967 GB, free: 4.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005163/0.1833, allocations: 319.4 kB / 0.497 GB, free: 3.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.1834, allocations: 20 kB / 0.497 GB, free: 3.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1836, allocations: 346.8 kB / 0.4974 GB, free: 3.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.1848, allocations: 469.7 kB / 0.4978 GB, free: 2.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.1862, allocations: 0.5579 MB / 0.4984 GB, free: 2.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.1877, allocations: 0.5379 MB / 0.4989 GB, free: 1.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1877, allocations: 0 / 0.4989 GB, free: 1.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004485/0.1922, allocations: 1.458 MB / 0.5003 GB, free: 308 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.1923, allocations: 8 kB / 0.5003 GB, free: 300 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1923, allocations: 0 / 0.5003 GB, free: 300 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/0.194, allocations: 337.6 kB / 0.5007 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.1955, allocations: 187.7 kB / 0.5008 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008859/0.2044, allocations: 3.962 MB / 0.5047 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009501/0.2054, allocations: 43.95 kB / 0.5047 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.2056, allocations: 35.98 kB / 0.5048 GB, free: 11.58 MB / 362.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.0006115/0.2062, allocations: 285.7 kB / 0.505 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.2064, allocations: 67.33 kB / 0.5051 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.2109, allocations: 1.555 MB / 0.5066 GB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.211, allocations: 12 kB / 0.5066 GB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.211, allocations: 8 kB / 0.5066 GB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.2111, allocations: 3.984 kB / 0.5067 GB, free: 9.625 MB / 362.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.008852/0.2199, allocations: 3.024 MB / 0.5096 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.22, allocations: 11.92 kB / 0.5096 GB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.2213, allocations: 163.8 kB / 0.5098 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.2229, allocations: 288.9 kB / 0.5101 GB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.223, allocations: 24 kB / 0.5101 GB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00823/0.2313, allocations: 3.704 MB / 0.5137 GB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.2313, allocations: 4 kB / 0.5137 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/0.2358, allocations: 1.77 MB / 0.5154 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.2361, allocations: 140.3 kB / 0.5156 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.2363, allocations: 20 kB / 0.5156 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3034/0.5397, allocations: 41.97 kB / 0.5156 GB, free: 51.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004252/0.5402, allocations: 82.98 kB / 0.5157 GB, free: 51.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.5404, allocations: 35.11 kB / 0.5157 GB, free: 51.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004596/0.5408, allocations: 255.1 kB / 0.516 GB, free: 51.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5408, allocations: 0.875 kB / 0.516 GB, free: 51.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001515/0.5424, allocations: 304.9 kB / 0.5163 GB, free: 51.73 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.00484/0.5472, allocations: 3.359 MB / 0.5195 GB, free: 49.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003829/0.5511, allocations: 1.387 MB / 0.5209 GB, free: 49.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.5512, allocations: 3.688 kB / 0.5209 GB, free: 49.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.5535, allocations: 0.8378 MB / 0.5217 GB, free: 49.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/0.5543, allocations: 87.44 kB / 0.5218 GB, free: 49.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.5671, allocations: 6.608 MB / 0.5283 GB, free: 45.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.5682, allocations: 1.087 MB / 0.5293 GB, free: 44.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007723/0.569, allocations: 268.7 kB / 0.5296 GB, free: 44.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/0.569, allocations: 1.031 kB / 0.5296 GB, free: 44.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.861/3.43, allocations: 15.02 MB / 0.5442 GB, free: 36.25 MB / 362.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)