Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 109 kB / 17.06 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 195 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.172/0.172, allocations: 37.99 MB / 309.2 MB, free: 5.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 75.88 kB / 431.4 MB, free: 16.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09912, allocations: 55.24 MB / 486.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007611/0.1068, allocations: 7.437 MB / 494.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.1123, allocations: 4.483 MB / 498.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004559/0.1128, allocations: 12 kB / 498.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.1152, allocations: 1.031 MB / 499.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.118, allocations: 1.269 MB / 0.4891 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.1188, allocations: 343 kB / 0.4894 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.1204, allocations: 1.406 MB / 0.4908 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009972/0.1214, allocations: 0.8008 MB / 0.4916 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008995/0.1223, allocations: 0.646 MB / 0.4922 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00094/0.1232, allocations: 0.7399 MB / 0.4929 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.1234, allocations: 80 kB / 0.493 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.1257, allocations: 1.52 MB / 0.4945 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005686/0.1262, allocations: 0.6079 MB / 0.4951 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008079/0.1271, allocations: 0.5638 MB / 0.4957 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.1297, allocations: 1.878 MB / 0.4975 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1297, allocations: 4 kB / 0.4975 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1297, allocations: 0 / 0.4975 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.544e-05/0.1297, allocations: 0 / 0.4975 GB, free: 2.051 MB / 382.1 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.00229/0.132, allocations: 1.338 MB / 0.4988 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1321, allocations: 15.89 kB / 0.4988 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.1323, allocations: 156.8 kB / 0.499 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/0.1362, allocations: 0.5419 MB / 0.4995 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.1374, allocations: 0.556 MB / 0.5 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/0.1375, allocations: 66.36 kB / 0.5001 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.1378, allocations: 92.27 kB / 0.5002 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.1406, allocations: 1.504 MB / 0.5017 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.1406, allocations: 4 kB / 0.5017 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.1407, allocations: 35.98 kB / 0.5017 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.1409, allocations: 98 kB / 0.5018 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.1434, allocations: 1.554 MB / 0.5033 GB, free: 11.95 MB / 398.1 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.007868/0.1513, allocations: 4.88 MB / 0.5081 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.1531, allocations: 1.18 MB / 0.5092 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.1542, allocations: 0.7658 MB / 0.51 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-05/0.1543, allocations: 21.06 kB / 0.51 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.1543, allocations: 43.56 kB / 0.51 GB, free: 4.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 2.895e-06/0.1543, allocations: 0 / 0.51 GB, free: 4.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.007306/0.1616, allocations: 3.681 MB / 0.5136 GB, free: 1.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1617, allocations: 90.11 kB / 0.5137 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.1622, allocations: 477.6 kB / 0.5142 GB, free: 0.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/0.1623, allocations: 41.7 kB / 0.5142 GB, free: 464 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.1625, allocations: 423.4 kB / 0.5146 GB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.1629, allocations: 374.8 kB / 0.515 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.1632, allocations: 202.8 kB / 0.5152 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1633, allocations: 386.8 kB / 0.5155 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007781/0.1641, allocations: 0.5296 MB / 0.516 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009437/0.1651, allocations: 0.7617 MB / 0.5168 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.1669, allocations: 1.408 MB / 0.5182 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.1669, allocations: 4 kB / 0.5182 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002851/0.1698, allocations: 1.798 MB / 0.5199 GB, free: 10.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.1698, allocations: 15.94 kB / 0.5199 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.1699, allocations: 7.984 kB / 0.5199 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.171, allocations: 413.4 kB / 0.5203 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/0.1718, allocations: 235.6 kB / 0.5206 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00663/0.1785, allocations: 6.059 MB / 0.5265 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006784/0.1792, allocations: 63.92 kB / 0.5265 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.1793, allocations: 51.98 kB / 0.5266 GB, free: 3.25 MB / 414.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005349/0.1798, allocations: 365.4 kB / 0.5269 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.18, allocations: 71.16 kB / 0.527 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.183, allocations: 1.806 MB / 0.5288 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.183, allocations: 12 kB / 0.5288 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/0.183, allocations: 15.92 kB / 0.5288 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.183, allocations: 3.984 kB / 0.5288 GB, free: 0.9648 MB / 414.1 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.2311/0.4142, allocations: 3.456 MB / 0.5322 GB, free: 50.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.4142, allocations: 4.125 kB / 0.5322 GB, free: 50.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/0.415, allocations: 190.2 kB / 0.5324 GB, free: 50.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008922/0.4159, allocations: 348.6 kB / 0.5327 GB, free: 50.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.4159, allocations: 28.53 kB / 0.5327 GB, free: 50.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005565/0.4215, allocations: 5.79 MB / 0.5384 GB, free: 46.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.4215, allocations: 4.344 kB / 0.5384 GB, free: 46.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.4244, allocations: 1.829 MB / 0.5402 GB, free: 45.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.4246, allocations: 156.6 kB / 0.5403 GB, free: 45.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.4248, allocations: 26.27 kB / 0.5403 GB, free: 45.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.4253, allocations: 49.84 kB / 0.5404 GB, free: 45.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.4255, allocations: 92.42 kB / 0.5405 GB, free: 45.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/0.4256, allocations: 38.75 kB / 0.5405 GB, free: 45.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003858/0.426, allocations: 329.7 kB / 0.5408 GB, free: 45.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.426, allocations: 0 / 0.5408 GB, free: 45.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001169/0.4272, allocations: 396.6 kB / 0.5412 GB, free: 45.32 MB / 414.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003033/0.4302, allocations: 2.399 MB / 0.5436 GB, free: 43.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.4326, allocations: 1.757 MB / 0.5453 GB, free: 43.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4326, allocations: 1.312 kB / 0.5453 GB, free: 43.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.434, allocations: 1.075 MB / 0.5463 GB, free: 42.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.4347, allocations: 128 kB / 0.5464 GB, free: 42.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.4459, allocations: 9.122 MB / 0.5553 GB, free: 38.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.4465, allocations: 1.169 MB / 0.5565 GB, free: 37.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005092/0.447, allocations: 237.6 kB / 0.5567 GB, free: 37.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.4474, allocations: 338.8 kB / 0.557 GB, free: 37 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4474, allocations: 3.906 kB / 0.557 GB, free: 37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03866/0.4861, allocations: 20.79 MB / 0.5773 GB, free: 18.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.59, allocations: 16.7 kB / 0.5774 GB, free: 18.35 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)