Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.001774/0.001774, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002216/0.002216, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.55/1.55, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.1866/0.1866, allocations: 38.55 MB / 353.2 MB, free: 12.32 MB / 286.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.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.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",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.003154/0.003154, allocations: 71.88 kB / 493.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3314, allocations: 62.46 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008944/0.3403, allocations: 7.271 MB / 0.5498 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006968/0.3473, allocations: 4.418 MB / 0.5541 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000759/0.348, allocations: 20.47 kB / 0.5541 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00333/0.3514, allocations: 1.066 MB / 0.5552 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0044/0.3558, allocations: 1.276 MB / 0.5564 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.3572, allocations: 366.7 kB / 0.5568 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002827/0.36, allocations: 1.465 MB / 0.5582 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009485/0.3609, allocations: 0.5172 MB / 0.5587 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.3623, allocations: 0.6613 MB / 0.5593 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.3635, allocations: 0.7787 MB / 0.5601 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.3636, allocations: 68 kB / 0.5602 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.3661, allocations: 1.215 MB / 0.5614 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005284/0.3666, allocations: 0.4987 MB / 0.5618 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004675/0.3671, allocations: 378.4 kB / 0.5622 GB, free: 280 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.3694, allocations: 1.557 MB / 0.5637 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3694, allocations: 0 / 0.5637 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3694, allocations: 0 / 0.5637 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.3694, allocations: 0 / 0.5637 GB, free: 14.71 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001821/0.3713, allocations: 1.109 MB / 0.5648 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3713, allocations: 15.98 kB / 0.5648 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.313e-05/0.3713, allocations: 30.11 kB / 0.5649 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.3715, allocations: 131.4 kB / 0.565 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003457/0.375, allocations: 419.8 kB / 0.5654 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.3758, allocations: 449.6 kB / 0.5658 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.3759, allocations: 54.36 kB / 0.5659 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.3761, allocations: 72.36 kB / 0.5659 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.3781, allocations: 1.234 MB / 0.5671 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.3782, allocations: 3.984 kB / 0.5671 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/0.3782, allocations: 31.98 kB / 0.5672 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.3783, allocations: 77.95 kB / 0.5672 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.3804, allocations: 1.312 MB / 0.5685 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005865/0.3862, allocations: 3.403 MB / 0.5718 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.3881, allocations: 1.016 MB / 0.5728 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008563/0.389, allocations: 0.5707 MB / 0.5734 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.658e-05/0.389, allocations: 13 kB / 0.5734 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.3891, allocations: 47.56 kB / 0.5735 GB, free: 4.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.106e-06/0.3891, allocations: 0 / 0.5735 GB, free: 4.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007764/0.3968, allocations: 3.056 MB / 0.5764 GB, free: 1.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.3969, allocations: 98.17 kB / 0.5765 GB, free: 1.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.3974, allocations: 381.5 kB / 0.5769 GB, free: 0.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/0.3975, allocations: 41.7 kB / 0.5769 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.3977, allocations: 337 kB / 0.5773 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.398, allocations: 329.1 kB / 0.5776 GB, free: 256 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.3983, allocations: 162.6 kB / 0.5777 GB, free: 88 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3985, allocations: 370.8 kB / 0.5781 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/0.3992, allocations: 465.7 kB / 0.5785 GB, free: 15.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008416/0.4001, allocations: 0.5704 MB / 0.5791 GB, free: 14.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.4017, allocations: 1.118 MB / 0.5802 GB, free: 13.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.4017, allocations: 4 kB / 0.5802 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002803/0.4045, allocations: 1.474 MB / 0.5816 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.4046, allocations: 6.812 kB / 0.5816 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4046, allocations: 8 kB / 0.5816 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.4057, allocations: 340.6 kB / 0.582 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008098/0.4065, allocations: 175.8 kB / 0.5821 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005784/0.4123, allocations: 3.912 MB / 0.5859 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.4129, allocations: 55.81 kB / 0.586 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.413, allocations: 35.98 kB / 0.586 GB, free: 7.387 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004552/0.4135, allocations: 299.8 kB / 0.5863 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.4136, allocations: 63.61 kB / 0.5864 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/0.4166, allocations: 1.54 MB / 0.5879 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.4166, allocations: 12 kB / 0.5879 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.4166, allocations: 4 kB / 0.5879 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.4166, allocations: 7.984 kB / 0.5879 GB, free: 5.445 MB / 430.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.005202/0.4218, allocations: 2.762 MB / 0.5906 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.4218, allocations: 4.438 kB / 0.5906 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.4225, allocations: 167.8 kB / 0.5908 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008583/0.4233, allocations: 292.4 kB / 0.591 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.4234, allocations: 24 kB / 0.5911 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005309/0.4287, allocations: 3.687 MB / 0.5947 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4287, allocations: 4 kB / 0.5947 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.4313, allocations: 1.575 MB / 0.5962 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.4315, allocations: 67.55 kB / 0.5963 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/0.4316, allocations: 24 kB / 0.5963 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.432, allocations: 51.89 kB / 0.5963 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.4322, allocations: 76.8 kB / 0.5964 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/0.4323, allocations: 39.98 kB / 0.5965 GB, free: 12.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000325/0.4326, allocations: 263.1 kB / 0.5967 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4326, allocations: 0 / 0.5967 GB, free: 12.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009679/0.4336, allocations: 315.9 kB / 0.597 GB, free: 11.84 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002831/0.4364, allocations: 2.126 MB / 0.5991 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.4386, allocations: 1.327 MB / 0.6004 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4386, allocations: 0 / 0.6004 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.4399, allocations: 0.7967 MB / 0.6012 GB, free: 7.496 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007531/0.4406, allocations: 113.1 kB / 0.6013 GB, free: 7.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.4524, allocations: 7.64 MB / 0.6087 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.453, allocations: 493.1 kB / 0.6092 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004825/0.4535, allocations: 180.7 kB / 0.6094 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.4539, allocations: 271.3 kB / 0.6096 GB, free: 14.55 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4539, allocations: 0 / 0.6096 GB, free: 14.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04883/0.5027, allocations: 18 MB / 0.6272 GB, free: 12.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.56, allocations: 4 kB / 0.6272 GB, free: 12.71 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.560896478011273] Failed to read output from testmodel.py, exit status != 0: 13.731541840941645 13.746491423 13.373622961 Calling exit ...