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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001751/0.001751, allocations: 103.5 kB / 16.92 MB, free: 5.859 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.002049/0.002049, allocations: 191.5 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1591/0.1591, allocations: 38.02 MB / 329.7 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 56.97 kB / 398.9 MB, free: 33.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07532/0.07644, allocations: 58.08 MB / 457 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006728/0.08319, allocations: 7.413 MB / 464.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004589/0.0878, allocations: 4.44 MB / 468.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.08797, allocations: 19.94 kB / 468.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.09002, allocations: 1.04 MB / 469.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.09194, allocations: 1.269 MB / 471.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.09256, allocations: 343.1 kB / 471.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.09368, allocations: 1.406 MB / 472.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008543/0.09454, allocations: 0.7969 MB / 473.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.0951, allocations: 0.642 MB / 474.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/0.09577, allocations: 0.736 MB / 475.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.09588, allocations: 76 kB / 475.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.09767, allocations: 1.528 MB / 476.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004209/0.0981, allocations: 0.6041 MB / 477.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.09857, allocations: 0.5677 MB / 477.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.1002, allocations: 1.866 MB / 479.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1002, allocations: 0 / 479.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1002, allocations: 0 / 479.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1002, allocations: 0 / 479.7 MB, free: 1.125 MB / 350.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.001575/0.1018, allocations: 1.342 MB / 481 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1018, allocations: 15.89 kB / 481.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.102, allocations: 160.8 kB / 481.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/0.1054, allocations: 0.5341 MB / 481.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.1061, allocations: 0.552 MB / 482.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.1061, allocations: 66.3 kB / 482.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.1063, allocations: 92.27 kB / 482.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.1081, allocations: 1.505 MB / 484 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.1081, allocations: 0 / 484 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/0.1082, allocations: 36 kB / 484 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.615e-05/0.1083, allocations: 101.9 kB / 484.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.1103, allocations: 1.55 MB / 485.7 MB, free: 11.03 MB / 366.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.00612/0.1164, allocations: 4.923 MB / 490.6 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.118, allocations: 1.177 MB / 491.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008842/0.1189, allocations: 0.7646 MB / 492.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.1189, allocations: 13 kB / 492.5 MB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.119, allocations: 51.77 kB / 492.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 2.084e-06/0.119, allocations: 0 / 492.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.006451/0.1254, allocations: 3.673 MB / 496.3 MB, free: 128 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1255, allocations: 94.11 kB / 496.3 MB, free: 16 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004159/0.1259, allocations: 473.7 kB / 496.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.126, allocations: 45.7 kB / 496.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.1262, allocations: 435.4 kB / 497.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.1265, allocations: 366.6 kB / 497.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.1268, allocations: 198.8 kB / 497.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1269, allocations: 386.8 kB / 498.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/0.1276, allocations: 0.5374 MB / 498.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008273/0.1285, allocations: 0.7539 MB / 499.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.1301, allocations: 1.408 MB / 0.4892 GB, free: 11.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1301, allocations: 4 kB / 0.4892 GB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002595/0.1327, allocations: 1.802 MB / 0.4909 GB, free: 9.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1327, allocations: 11.94 kB / 0.4909 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.1327, allocations: 4 kB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009457/0.1337, allocations: 415.5 kB / 0.4913 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.1345, allocations: 235.6 kB / 0.4916 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005965/0.1405, allocations: 6.069 MB / 0.4975 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.141, allocations: 64 kB / 0.4976 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.1411, allocations: 43.98 kB / 0.4976 GB, free: 2.293 MB / 382.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.0003781/0.1415, allocations: 365.4 kB / 0.4979 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1416, allocations: 71.16 kB / 0.498 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/0.1443, allocations: 1.806 MB / 0.4998 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.1443, allocations: 16 kB / 0.4998 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.1443, allocations: 11.94 kB / 0.4998 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.1443, allocations: 3.984 kB / 0.4998 GB, free: 8 kB / 382.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.144/0.2883, allocations: 3.455 MB / 0.5032 GB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.2884, allocations: 9.406 kB / 0.5032 GB, free: 55.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.289, allocations: 193.7 kB / 0.5034 GB, free: 55.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008545/0.2899, allocations: 352.1 kB / 0.5037 GB, free: 55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/0.29, allocations: 26.97 kB / 0.5037 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005152/0.2951, allocations: 5.791 MB / 0.5094 GB, free: 50.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2952, allocations: 7.781 kB / 0.5094 GB, free: 50.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.2976, allocations: 1.819 MB / 0.5112 GB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.2977, allocations: 158.5 kB / 0.5113 GB, free: 50.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.2979, allocations: 30.55 kB / 0.5114 GB, free: 50.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.2983, allocations: 59.03 kB / 0.5114 GB, free: 50.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.2985, allocations: 92.38 kB / 0.5115 GB, free: 50.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.705e-05/0.2986, allocations: 37.8 kB / 0.5115 GB, free: 50 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003141/0.2989, allocations: 324.8 kB / 0.5118 GB, free: 49.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2989, allocations: 0 / 0.5118 GB, free: 49.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001145/0.3001, allocations: 396.3 kB / 0.5122 GB, free: 49.81 MB / 382.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.002562/0.3027, allocations: 2.399 MB / 0.5146 GB, free: 48.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.3055, allocations: 2.133 MB / 0.5166 GB, free: 47.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3055, allocations: 1.281 kB / 0.5167 GB, free: 47.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.3068, allocations: 1.085 MB / 0.5177 GB, free: 47.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.3074, allocations: 119.4 kB / 0.5178 GB, free: 47.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009305/0.3167, allocations: 9.267 MB / 0.5269 GB, free: 42.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.3172, allocations: 1.169 MB / 0.528 GB, free: 41.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004489/0.3177, allocations: 239.1 kB / 0.5282 GB, free: 41.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.318, allocations: 342.5 kB / 0.5286 GB, free: 41.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.318, allocations: 0 / 0.5286 GB, free: 41.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.844/2.162, allocations: 20.07 MB / 0.5482 GB, free: 21.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/15.58, allocations: 5.359 kB / 0.5482 GB, free: 21.5 MB / 382.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)