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.001464/0.001464, allocations: 113.6 kB / 17.06 MB, free: 6.012 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.001417/0.001417, allocations: 189.4 kB / 18 MB, free: 5.098 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.386/1.386, allocations: 222.9 MB / 241.7 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.193/0.193, allocations: 38.03 MB / 329.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 71.88 kB / 457.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3096, allocations: 58.05 MB / 0.5036 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006279/0.3159, allocations: 7.428 MB / 0.5109 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004995/0.3209, allocations: 4.444 MB / 0.5152 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.3212, allocations: 12.75 kB / 0.5152 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.3238, allocations: 1.03 MB / 0.5162 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.3266, allocations: 1.27 MB / 0.5175 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009001/0.3275, allocations: 344.3 kB / 0.5178 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.3291, allocations: 1.409 MB / 0.5192 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.3303, allocations: 0.8098 MB / 0.52 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008522/0.3311, allocations: 0.6393 MB / 0.5206 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008789/0.332, allocations: 0.7385 MB / 0.5213 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3322, allocations: 79.19 kB / 0.5214 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.3348, allocations: 1.515 MB / 0.5229 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006239/0.3354, allocations: 0.609 MB / 0.5235 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006373/0.3361, allocations: 0.5553 MB / 0.524 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.3387, allocations: 1.892 MB / 0.5259 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3387, allocations: 5.031 kB / 0.5259 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3387, allocations: 0 / 0.5259 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.3388, allocations: 0 / 0.5259 GB, free: 10.53 MB / 398.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.002132/0.3409, allocations: 1.357 MB / 0.5272 GB, free: 9.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3409, allocations: 17.31 kB / 0.5272 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.3411, allocations: 162.4 kB / 0.5274 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003757/0.3449, allocations: 0.5429 MB / 0.5279 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/0.3458, allocations: 0.5658 MB / 0.5284 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.3459, allocations: 66.06 kB / 0.5285 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.346, allocations: 98.42 kB / 0.5286 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.3483, allocations: 1.507 MB / 0.5301 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.3484, allocations: 6.688 kB / 0.5301 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.3485, allocations: 32.97 kB / 0.5301 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.967e-05/0.3486, allocations: 96.19 kB / 0.5302 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.3509, allocations: 1.549 MB / 0.5317 GB, free: 7.387 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.007445/0.3584, allocations: 4.892 MB / 0.5365 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.3602, allocations: 1.194 MB / 0.5377 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.3613, allocations: 0.7657 MB / 0.5384 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.681e-05/0.3614, allocations: 11.97 kB / 0.5384 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3614, allocations: 48.59 kB / 0.5385 GB, free: 2.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 2.685e-06/0.3614, allocations: 0 / 0.5385 GB, free: 2.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.00767/0.3691, allocations: 3.703 MB / 0.5421 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.3692, allocations: 89.42 kB / 0.5422 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.3698, allocations: 476.6 kB / 0.5426 GB, free: 248 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.3699, allocations: 41.7 kB / 0.5427 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.3702, allocations: 444.7 kB / 0.5431 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/0.3706, allocations: 384.7 kB / 0.5434 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.3709, allocations: 202.9 kB / 0.5436 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.3711, allocations: 386.8 kB / 0.544 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008513/0.372, allocations: 0.5335 MB / 0.5445 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.3731, allocations: 0.7539 MB / 0.5453 GB, free: 13.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.3751, allocations: 1.4 MB / 0.5466 GB, free: 11.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3751, allocations: 4 kB / 0.5466 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003138/0.3783, allocations: 1.806 MB / 0.5484 GB, free: 10.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3783, allocations: 12.03 kB / 0.5484 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3783, allocations: 7.938 kB / 0.5484 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.3794, allocations: 401.4 kB / 0.5488 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/0.3803, allocations: 235.6 kB / 0.549 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007477/0.3878, allocations: 6.073 MB / 0.555 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.3886, allocations: 63.92 kB / 0.555 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-05/0.3887, allocations: 51.98 kB / 0.5551 GB, free: 2.98 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.0006011/0.3893, allocations: 368.2 kB / 0.5554 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3895, allocations: 75.53 kB / 0.5555 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/0.3927, allocations: 1.807 MB / 0.5573 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.3927, allocations: 15.94 kB / 0.5573 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.3928, allocations: 7.938 kB / 0.5573 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.3928, allocations: 7.984 kB / 0.5573 GB, free: 0.6875 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.005882/0.3987, allocations: 3.469 MB / 0.5607 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.3987, allocations: 4.438 kB / 0.5607 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007521/0.3995, allocations: 187.8 kB / 0.5609 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009606/0.4004, allocations: 349.4 kB / 0.5612 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/0.4005, allocations: 31.94 kB / 0.5612 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007035/0.4076, allocations: 5.796 MB / 0.5669 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4076, allocations: 4 kB / 0.5669 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.4106, allocations: 1.833 MB / 0.5687 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.4109, allocations: 168.5 kB / 0.5688 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.411, allocations: 24 kB / 0.5689 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.4115, allocations: 59.83 kB / 0.5689 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.4117, allocations: 88.81 kB / 0.569 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.4118, allocations: 39.98 kB / 0.569 GB, free: 4.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004185/0.4122, allocations: 323.1 kB / 0.5693 GB, free: 3.816 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4123, allocations: 4 kB / 0.5694 GB, free: 3.812 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001244/0.4135, allocations: 403.9 kB / 0.5697 GB, free: 3.418 MB / 430.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.003318/0.4168, allocations: 2.388 MB / 0.5721 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002763/0.4196, allocations: 1.767 MB / 0.5738 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4196, allocations: 0 / 0.5738 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.4212, allocations: 1.077 MB / 0.5748 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.422, allocations: 125.3 kB / 0.575 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.4357, allocations: 9.151 MB / 0.5839 GB, free: 4.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.4368, allocations: 1.171 MB / 0.585 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006332/0.4374, allocations: 241.4 kB / 0.5853 GB, free: 2.988 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.438, allocations: 335.3 kB / 0.5856 GB, free: 2.66 MB / 446.1 MB Notification: Performance of SimCode: time 4.358e-06/0.438, allocations: 0 / 0.5856 GB, free: 2.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06301/0.501, allocations: 20.47 MB / 0.6056 GB, free: 14.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.58, allocations: 3.984 kB / 0.6056 GB, free: 14.29 MB / 478.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)