Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.001499/0.001499, allocations: 183.3 kB / 15.77 MB, free: 6.379 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.984/1.984, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.00113/0.001129, allocations: 86.88 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2586/0.2586, allocations: 38.05 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 12 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 56.33 MB / 479.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.01019/0.1225, allocations: 6.493 MB / 485.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008785/0.1313, allocations: 4.09 MB / 489.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/0.1319, allocations: 15.94 kB / 489.7 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.1325, allocations: 143.2 kB / 489.9 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.1357, allocations: 0.7009 MB / 490.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.137, allocations: 267.4 kB / 490.8 MB, free: 6.191 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.1382, allocations: 0.5808 MB / 491.4 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.1414, allocations: 1.26 MB / 492.7 MB, free: 4.324 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.1425, allocations: 402.6 kB / 493.1 MB, free: 3.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007113/0.1432, allocations: 382.9 kB / 493.4 MB, free: 3.555 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.1433, allocations: 40 kB / 493.5 MB, free: 3.516 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.1461, allocations: 0.8733 MB / 494.4 MB, free: 2.641 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007527/0.1469, allocations: 0.5067 MB / 494.9 MB, free: 2.133 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003918/0.1473, allocations: 217.2 kB / 495.1 MB, free: 1.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.1504, allocations: 1.341 MB / 496.4 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1504, allocations: 0 / 496.4 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1504, allocations: 0 / 496.4 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.1504, allocations: 0 / 496.4 MB, free: 0.5703 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002824/0.1533, allocations: 1.174 MB / 497.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.1533, allocations: 12.03 kB / 497.6 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002877/0.1536, allocations: 168.6 kB / 497.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00683/0.1605, allocations: 0.6307 MB / 498.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.1622, allocations: 0.5355 MB / 498.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/0.1623, allocations: 73.98 kB / 499 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/0.1625, allocations: 87.92 kB / 499.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003773/0.1663, allocations: 1.458 MB / 0.4888 GB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.1664, allocations: 3.906 kB / 0.4888 GB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.1666, allocations: 35.95 kB / 0.4889 GB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/0.1668, allocations: 105.9 kB / 0.489 GB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004159/0.171, allocations: 1.484 MB / 0.4904 GB, free: 10.66 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 preOpt removeSimpleEquations (simulation): time 0.01325/0.1843, allocations: 4.872 MB / 0.4952 GB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.1874, allocations: 1.155 MB / 0.4963 GB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.1876, allocations: 20.98 kB / 0.4963 GB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/0.1876, allocations: 47.88 kB / 0.4964 GB, free: 4.324 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 4.018e-06/0.1877, allocations: 0 / 0.4964 GB, free: 4.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=108): time 0.01351/0.2012, allocations: 3.613 MB / 0.4999 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.2013, allocations: 90.11 kB / 0.5 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008135/0.2021, allocations: 473.7 kB / 0.5004 GB, free: 84 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.2023, allocations: 41.7 kB / 0.5005 GB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.2027, allocations: 457.9 kB / 0.5009 GB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/0.2032, allocations: 370.6 kB / 0.5012 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.2033, allocations: 27.94 kB / 0.5013 GB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.2035, allocations: 358.8 kB / 0.5016 GB, free: 14.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.2049, allocations: 0.5218 MB / 0.5021 GB, free: 14.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.2065, allocations: 0.7266 MB / 0.5028 GB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.2082, allocations: 0.651 MB / 0.5035 GB, free: 12.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.2083, allocations: 4 kB / 0.5035 GB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005095/0.2134, allocations: 1.743 MB / 0.5052 GB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.2135, allocations: 8 kB / 0.5052 GB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.2135, allocations: 8 kB / 0.5052 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.2154, allocations: 414.8 kB / 0.5056 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.2174, allocations: 239.6 kB / 0.5058 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/0.2323, allocations: 5.731 MB / 0.5114 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.2342, allocations: 79.81 kB / 0.5115 GB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.2344, allocations: 40 kB / 0.5115 GB, free: 4.285 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.2356, allocations: 361.4 kB / 0.5119 GB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/0.236, allocations: 75.22 kB / 0.5119 GB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007553/0.2435, allocations: 1.779 MB / 0.5137 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-05/0.2436, allocations: 12 kB / 0.5137 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/0.2437, allocations: 4 kB / 0.5137 GB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.745e-05/0.2437, allocations: 11.97 kB / 0.5137 GB, free: 2.027 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.3342/0.578, allocations: 3.426 MB / 0.5171 GB, free: 50.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.5781, allocations: 3.125 kB / 0.5171 GB, free: 50.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.5797, allocations: 190.5 kB / 0.5172 GB, free: 50.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/0.5815, allocations: 350.6 kB / 0.5176 GB, free: 50.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/0.5818, allocations: 29.22 kB / 0.5176 GB, free: 50.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.5921, allocations: 5.456 MB / 0.5229 GB, free: 47.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.5922, allocations: 8.344 kB / 0.5229 GB, free: 47.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/0.5972, allocations: 1.966 MB / 0.5249 GB, free: 46.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.5975, allocations: 154.5 kB / 0.525 GB, free: 46.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.5978, allocations: 25.19 kB / 0.525 GB, free: 45.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009432/0.5988, allocations: 53.28 kB / 0.5251 GB, free: 45.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/0.5992, allocations: 90.17 kB / 0.5252 GB, free: 45.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.5993, allocations: 35.91 kB / 0.5252 GB, free: 45.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005872/0.5999, allocations: 325.5 kB / 0.5255 GB, free: 45.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5999, allocations: 1.281 kB / 0.5255 GB, free: 45.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002024/0.6019, allocations: 392.4 kB / 0.5259 GB, free: 45.77 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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005699/0.6077, allocations: 3.574 MB / 0.5294 GB, free: 43.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004708/0.6125, allocations: 1.71 MB / 0.531 GB, free: 42.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.6125, allocations: 1.031 kB / 0.531 GB, free: 42.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002967/0.6155, allocations: 1.066 MB / 0.5321 GB, free: 41.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.6166, allocations: 103 kB / 0.5322 GB, free: 41.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.6327, allocations: 10.24 MB / 0.5422 GB, free: 34.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009475/0.6337, allocations: 1.195 MB / 0.5434 GB, free: 34.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008787/0.6346, allocations: 349.7 kB / 0.5437 GB, free: 33.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6346, allocations: 3.938 kB / 0.5437 GB, free: 33.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.93/3.564, allocations: 21.72 MB / 0.5649 GB, free: 13.91 MB / 362.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)