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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 107.5 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 212.3 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2668/0.2668, allocations: 38.55 MB / 353.2 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003099/0.003099, allocations: 63.89 kB / 493.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3384, allocations: 62.46 MB / 0.5427 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008696/0.3471, allocations: 7.03 MB / 0.5496 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006456/0.3535, allocations: 4.157 MB / 0.5536 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005453/0.3541, allocations: 15.84 kB / 0.5537 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.3568, allocations: 1.022 MB / 0.5547 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.3602, allocations: 1.296 MB / 0.5559 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.3613, allocations: 345.7 kB / 0.5562 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.3631, allocations: 1.397 MB / 0.5576 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009473/0.3641, allocations: 0.5868 MB / 0.5582 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.3653, allocations: 0.6654 MB / 0.5588 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.3664, allocations: 0.8022 MB / 0.5596 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3666, allocations: 80 kB / 0.5597 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.3694, allocations: 1.418 MB / 0.5611 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006276/0.3701, allocations: 0.6117 MB / 0.5617 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000584/0.3706, allocations: 478 kB / 0.5621 GB, free: 376 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.3735, allocations: 1.908 MB / 0.564 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3735, allocations: 0 / 0.564 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3735, allocations: 0 / 0.564 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.265e-05/0.3735, allocations: 0 / 0.564 GB, free: 14.45 MB / 414.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.002054/0.3756, allocations: 1.284 MB / 0.5653 GB, free: 13.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3756, allocations: 15.97 kB / 0.5653 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.119e-05/0.3757, allocations: 26.19 kB / 0.5653 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.3758, allocations: 164.8 kB / 0.5654 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/0.38, allocations: 0.5463 MB / 0.566 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.381, allocations: 0.5075 MB / 0.5665 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/0.3811, allocations: 62.38 kB / 0.5665 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.3813, allocations: 88.36 kB / 0.5666 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.3837, allocations: 1.504 MB / 0.5681 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.3838, allocations: 11.98 kB / 0.5681 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3839, allocations: 31.98 kB / 0.5681 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.384, allocations: 102 kB / 0.5682 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.3865, allocations: 1.542 MB / 0.5697 GB, free: 8.453 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 preOpt removeSimpleEquations (simulation): time 0.007993/0.3945, allocations: 4.354 MB / 0.574 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.3964, allocations: 1.09 MB / 0.5751 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.3975, allocations: 0.6826 MB / 0.5757 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.433e-05/0.3976, allocations: 13 kB / 0.5757 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.3976, allocations: 55.55 kB / 0.5758 GB, free: 2.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 4.128e-06/0.3976, allocations: 0 / 0.5758 GB, free: 2.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008498/0.4061, allocations: 3.521 MB / 0.5792 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.4062, allocations: 94.14 kB / 0.5793 GB, free: 14.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.4068, allocations: 477.8 kB / 0.5798 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.292e-05/0.4069, allocations: 41.7 kB / 0.5798 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.4072, allocations: 436.6 kB / 0.5802 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.4076, allocations: 388.6 kB / 0.5806 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.4079, allocations: 202.9 kB / 0.5808 GB, free: 12.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.4081, allocations: 386.7 kB / 0.5812 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008808/0.409, allocations: 0.5335 MB / 0.5817 GB, free: 11.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.4101, allocations: 0.7578 MB / 0.5824 GB, free: 11.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.4121, allocations: 1.396 MB / 0.5838 GB, free: 9.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.4122, allocations: 4 kB / 0.5838 GB, free: 9.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003364/0.4155, allocations: 1.795 MB / 0.5855 GB, free: 7.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4155, allocations: 8 kB / 0.5855 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.4156, allocations: 7.938 kB / 0.5856 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.4167, allocations: 405.5 kB / 0.5859 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/0.4177, allocations: 235.6 kB / 0.5862 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007448/0.4251, allocations: 5.689 MB / 0.5917 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/0.4259, allocations: 71.86 kB / 0.5918 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.426, allocations: 47.98 kB / 0.5918 GB, free: 1.172 MB / 430.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.000572/0.4266, allocations: 361.3 kB / 0.5922 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.4268, allocations: 75.53 kB / 0.5923 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.4301, allocations: 1.795 MB / 0.594 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.4302, allocations: 19.88 kB / 0.594 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4302, allocations: 4 kB / 0.594 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.4302, allocations: 11.97 kB / 0.594 GB, free: 14.89 MB / 446.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.006123/0.4363, allocations: 3.192 MB / 0.5972 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.4363, allocations: 4 kB / 0.5972 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.4371, allocations: 191.7 kB / 0.5973 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.4382, allocations: 346.4 kB / 0.5977 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/0.4383, allocations: 27.98 kB / 0.5977 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00768/0.446, allocations: 5.463 MB / 0.603 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.446, allocations: 7.938 kB / 0.603 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/0.4497, allocations: 1.814 MB / 0.6048 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.45, allocations: 83.47 kB / 0.6049 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.4501, allocations: 24 kB / 0.6049 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.4508, allocations: 59.88 kB / 0.605 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/0.4511, allocations: 92.77 kB / 0.6051 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/0.4511, allocations: 35.94 kB / 0.6051 GB, free: 3.152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005173/0.4517, allocations: 331 kB / 0.6054 GB, free: 2.828 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4517, allocations: 0 / 0.6054 GB, free: 2.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001643/0.4533, allocations: 400 kB / 0.6058 GB, free: 2.438 MB / 446.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.003475/0.4568, allocations: 2.389 MB / 0.6081 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002858/0.4596, allocations: 1.677 MB / 0.6098 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.4596, allocations: 0 / 0.6098 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.4613, allocations: 1.038 MB / 0.6108 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009139/0.4622, allocations: 129.5 kB / 0.6109 GB, free: 13.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.4762, allocations: 9.124 MB / 0.6198 GB, free: 3.594 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.477, allocations: 0.5755 MB / 0.6204 GB, free: 2.988 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000587/0.4775, allocations: 233.4 kB / 0.6206 GB, free: 2.758 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.4781, allocations: 339.3 kB / 0.6209 GB, free: 2.43 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4781, allocations: 0 / 0.6209 GB, free: 2.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05462/0.5327, allocations: 22.05 MB / 0.6424 GB, free: 12.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.6, allocations: 11.98 kB / 0.6425 GB, free: 12.57 MB / 494.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.77208058803808] Failed to read output from testmodel.py, exit status != 0: 13.786406329018064 13.803925734 13.426868458 Calling exit ...