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.001439/0.001439, allocations: 111.1 kB / 20.44 MB, free: 1.062 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: 212.2 kB / 23.73 MB, free: 4.16 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.19/0.19, allocations: 38.56 MB / 352.5 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.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: 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.002315/0.002315, allocations: 71.81 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3084, allocations: 62.45 MB / 0.5419 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008528/0.3169, allocations: 7.049 MB / 0.5488 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006466/0.3234, allocations: 4.163 MB / 0.5529 GB, free: 7.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.3239, allocations: 17.56 kB / 0.5529 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.3267, allocations: 1.018 MB / 0.5539 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.3304, allocations: 1.297 MB / 0.5552 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.3316, allocations: 350 kB / 0.5555 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.3335, allocations: 1.402 MB / 0.5569 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.3347, allocations: 0.5716 MB / 0.5574 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.3362, allocations: 0.6655 MB / 0.5581 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.3376, allocations: 0.7631 MB / 0.5588 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.3378, allocations: 80 kB / 0.5589 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.3411, allocations: 1.407 MB / 0.5603 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007952/0.3419, allocations: 0.6195 MB / 0.5609 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.3429, allocations: 482 kB / 0.5613 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.3467, allocations: 1.896 MB / 0.5632 GB, free: 14.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3467, allocations: 0 / 0.5632 GB, free: 14.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3467, allocations: 0 / 0.5632 GB, free: 14.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.305e-05/0.3467, allocations: 0 / 0.5632 GB, free: 14.61 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.002828/0.3496, allocations: 1.284 MB / 0.5644 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.3496, allocations: 19.98 kB / 0.5645 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.3498, allocations: 164.8 kB / 0.5646 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/0.3539, allocations: 0.5463 MB / 0.5652 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.3553, allocations: 0.5036 MB / 0.5656 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.3553, allocations: 66.36 kB / 0.5657 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.3555, allocations: 84.36 kB / 0.5658 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.3582, allocations: 1.512 MB / 0.5673 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.3583, allocations: 0 / 0.5673 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.3584, allocations: 43.92 kB / 0.5673 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.3585, allocations: 102 kB / 0.5674 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.3611, allocations: 1.53 MB / 0.5689 GB, free: 8.641 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.008729/0.3699, allocations: 4.358 MB / 0.5732 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.3717, allocations: 1.079 MB / 0.5742 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.3728, allocations: 0.6865 MB / 0.5749 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.3728, allocations: 17 kB / 0.5749 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.3729, allocations: 51.55 kB / 0.5749 GB, free: 2.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.376e-06/0.3729, allocations: 0 / 0.5749 GB, free: 2.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.007934/0.3808, allocations: 3.521 MB / 0.5784 GB, free: 14.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.3809, allocations: 94.05 kB / 0.5785 GB, free: 14.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006204/0.3815, allocations: 489.6 kB / 0.5789 GB, free: 14.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.751e-05/0.3816, allocations: 41.7 kB / 0.579 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.3819, allocations: 436.6 kB / 0.5794 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.3823, allocations: 388.7 kB / 0.5798 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/0.3826, allocations: 198.9 kB / 0.58 GB, free: 13.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.3828, allocations: 382.8 kB / 0.5803 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008943/0.3837, allocations: 0.5374 MB / 0.5808 GB, free: 12.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.3849, allocations: 0.7539 MB / 0.5816 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.387, allocations: 1.4 MB / 0.583 GB, free: 9.848 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.387, allocations: 11.94 kB / 0.583 GB, free: 9.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003329/0.3904, allocations: 1.791 MB / 0.5847 GB, free: 8.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.3904, allocations: 8 kB / 0.5847 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.3904, allocations: 4 kB / 0.5847 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3916, allocations: 409.5 kB / 0.5851 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.3925, allocations: 235.6 kB / 0.5853 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007898/0.4004, allocations: 5.695 MB / 0.5909 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.4013, allocations: 67.86 kB / 0.591 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.4014, allocations: 43.98 kB / 0.591 GB, free: 1.355 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.0006442/0.402, allocations: 358.3 kB / 0.5913 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.4022, allocations: 79.53 kB / 0.5914 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/0.4056, allocations: 1.795 MB / 0.5932 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.4056, allocations: 12 kB / 0.5932 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.4056, allocations: 7.938 kB / 0.5932 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.4056, allocations: 11.97 kB / 0.5932 GB, free: 15.08 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.00639/0.412, allocations: 3.184 MB / 0.5963 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.412, allocations: 4 kB / 0.5963 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/0.4128, allocations: 199.6 kB / 0.5965 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00097/0.4138, allocations: 349.8 kB / 0.5968 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.625e-05/0.4139, allocations: 31.92 kB / 0.5969 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007304/0.4212, allocations: 5.471 MB / 0.6022 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.4212, allocations: 4 kB / 0.6022 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.4245, allocations: 1.822 MB / 0.604 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.4248, allocations: 79.52 kB / 0.6041 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.4249, allocations: 27.94 kB / 0.6041 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.4255, allocations: 55.88 kB / 0.6042 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.4257, allocations: 92.83 kB / 0.6042 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/0.4258, allocations: 32 kB / 0.6043 GB, free: 3.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004628/0.4262, allocations: 327.1 kB / 0.6046 GB, free: 3.012 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4262, allocations: 7.938 kB / 0.6046 GB, free: 3.004 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001293/0.4275, allocations: 399.9 kB / 0.605 GB, free: 2.613 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.003554/0.4311, allocations: 2.38 MB / 0.6073 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.434, allocations: 1.677 MB / 0.6089 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.434, allocations: 4 kB / 0.6089 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.4357, allocations: 1.03 MB / 0.6099 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008654/0.4365, allocations: 126.9 kB / 0.6101 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.4508, allocations: 9.129 MB / 0.619 GB, free: 3.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/0.4516, allocations: 0.5716 MB / 0.6195 GB, free: 3.168 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006246/0.4522, allocations: 237.4 kB / 0.6198 GB, free: 2.934 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000559/0.4528, allocations: 343.3 kB / 0.6201 GB, free: 2.602 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4528, allocations: 0 / 0.6201 GB, free: 2.602 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06251/0.5153, allocations: 21.94 MB / 0.6415 GB, free: 12.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.69, allocations: 9.922 kB / 0.6415 GB, free: 12.82 MB / 494.1 MB " [Timeout remaining time 647] (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: 15.603287354111671] Failed to read output from testmodel.py, exit status != 0: 12.810091018676758 12.827410602 12.476813168 Calling exit ...