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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 120.7 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 186.9 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.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.1833/0.1833, allocations: 38.5 MB / 342.5 MB, free: 8.035 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 72.53 kB / 478.6 MB, free: 33.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1134, allocations: 61.25 MB / 0.5272 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009066/0.1225, allocations: 7.508 MB / 0.5346 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006288/0.1288, allocations: 4.479 MB / 0.5389 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.1292, allocations: 12 kB / 0.5389 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.1319, allocations: 1.05 MB / 0.54 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.135, allocations: 1.281 MB / 0.5412 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009714/0.136, allocations: 347 kB / 0.5415 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.1377, allocations: 1.402 MB / 0.5429 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009795/0.1387, allocations: 0.6407 MB / 0.5435 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009937/0.1397, allocations: 0.6342 MB / 0.5442 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.1408, allocations: 0.81 MB / 0.5449 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1409, allocations: 83.98 kB / 0.545 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.1437, allocations: 1.586 MB / 0.5466 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007155/0.1444, allocations: 0.6234 MB / 0.5472 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.1451, allocations: 0.5522 MB / 0.5477 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.1481, allocations: 1.884 MB / 0.5496 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.1481, allocations: 4 kB / 0.5496 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1481, allocations: 0 / 0.5496 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.319e-05/0.1482, allocations: 0 / 0.5496 GB, free: 10.38 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.002233/0.1504, allocations: 1.371 MB / 0.5509 GB, free: 8.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1504, allocations: 11.89 kB / 0.5509 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/0.1507, allocations: 164.8 kB / 0.5511 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003905/0.1546, allocations: 0.5386 MB / 0.5516 GB, free: 8.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.1558, allocations: 0.564 MB / 0.5522 GB, free: 7.621 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.1559, allocations: 70.3 kB / 0.5522 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.156, allocations: 96.3 kB / 0.5523 GB, free: 7.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.1584, allocations: 1.508 MB / 0.5538 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.1585, allocations: 4 kB / 0.5538 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/0.1586, allocations: 36 kB / 0.5538 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.1587, allocations: 98 kB / 0.5539 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.1612, allocations: 1.542 MB / 0.5554 GB, free: 4.227 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.008638/0.1698, allocations: 4.905 MB / 0.5602 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.1717, allocations: 1.098 MB / 0.5613 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.1727, allocations: 0.6826 MB / 0.562 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.73e-05/0.1728, allocations: 17.06 kB / 0.562 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.1729, allocations: 43.56 kB / 0.562 GB, free: 13.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.437e-06/0.1729, allocations: 0 / 0.562 GB, free: 13.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.007889/0.1807, allocations: 3.691 MB / 0.5656 GB, free: 9.492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.1808, allocations: 90.11 kB / 0.5657 GB, free: 9.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.1814, allocations: 477.8 kB / 0.5662 GB, free: 8.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.987e-05/0.1815, allocations: 45.7 kB / 0.5662 GB, free: 8.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.1818, allocations: 432.7 kB / 0.5666 GB, free: 8.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.1821, allocations: 392.6 kB / 0.567 GB, free: 8.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.1824, allocations: 194.9 kB / 0.5672 GB, free: 7.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002723/0.1827, allocations: 378.8 kB / 0.5675 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008515/0.1836, allocations: 0.5413 MB / 0.5681 GB, free: 6.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.1846, allocations: 0.7578 MB / 0.5688 GB, free: 6.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.1866, allocations: 1.404 MB / 0.5702 GB, free: 4.609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.1867, allocations: 0 / 0.5702 GB, free: 4.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003165/0.1898, allocations: 1.79 MB / 0.5719 GB, free: 2.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1898, allocations: 8 kB / 0.5719 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.1899, allocations: 4.5 kB / 0.5719 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.191, allocations: 406.8 kB / 0.5723 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.1919, allocations: 235.6 kB / 0.5725 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007628/0.1995, allocations: 6.074 MB / 0.5785 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.2002, allocations: 71.92 kB / 0.5785 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/0.2003, allocations: 40 kB / 0.5786 GB, free: 11.68 MB / 446.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.0005624/0.2009, allocations: 369.4 kB / 0.5789 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.201, allocations: 75.53 kB / 0.579 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.2042, allocations: 1.799 MB / 0.5808 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.2042, allocations: 12 kB / 0.5808 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.2042, allocations: 11.94 kB / 0.5808 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.2043, allocations: 7.969 kB / 0.5808 GB, free: 9.387 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.006222/0.2105, allocations: 3.449 MB / 0.5842 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.2105, allocations: 4 kB / 0.5842 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007267/0.2112, allocations: 187.8 kB / 0.5843 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.2122, allocations: 357.7 kB / 0.5847 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.2123, allocations: 27.94 kB / 0.5847 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007128/0.2194, allocations: 5.79 MB / 0.5904 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.2195, allocations: 4 kB / 0.5904 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.2225, allocations: 1.817 MB / 0.5921 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.2228, allocations: 168.5 kB / 0.5923 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.2229, allocations: 31.98 kB / 0.5923 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.2234, allocations: 51.89 kB / 0.5924 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.2236, allocations: 92.81 kB / 0.5925 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.2237, allocations: 36 kB / 0.5925 GB, free: 12.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004063/0.2241, allocations: 327.1 kB / 0.5928 GB, free: 12.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2241, allocations: 0 / 0.5928 GB, free: 12.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001183/0.2252, allocations: 395.9 kB / 0.5932 GB, free: 12.16 MB / 462.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.003226/0.2285, allocations: 2.388 MB / 0.5955 GB, free: 9.695 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002766/0.2312, allocations: 1.678 MB / 0.5972 GB, free: 7.992 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2312, allocations: 0 / 0.5972 GB, free: 7.992 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.2328, allocations: 1.03 MB / 0.5982 GB, free: 6.941 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.2335, allocations: 132 kB / 0.5983 GB, free: 6.812 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2431/0.4766, allocations: 9.1 MB / 0.6072 GB, free: 70.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009069/0.4775, allocations: 1.175 MB / 0.6083 GB, free: 69.99 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006307/0.4781, allocations: 240.7 kB / 0.6086 GB, free: 69.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.4786, allocations: 339.4 kB / 0.6089 GB, free: 69.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4786, allocations: 1 kB / 0.6089 GB, free: 69.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05137/0.5299, allocations: 20.92 MB / 0.6293 GB, free: 62.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.74, allocations: 5.469 kB / 0.6293 GB, free: 62.29 MB / 462.1 MB " [Timeout remaining time 648] (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: 14.655263917054981] Failed to read output from testmodel.py, exit status != 0: 11.832616667728871 11.847371794 11.696293856 Calling exit ...